ok so I do this mysql command:
SELECT CONCAT(SUBSTRING(Familenaam,1,4),SUBSTRING(Voornaam,1,4)) AS `Login` FROM tblusers
This gives me the result for johny cowbell -_> johncowb (=loginname) but this is in a query.
I want that result in my table tblusers in the column “Login”.
How do I do this?
You can use
INSERT INTO .. SELECTlike so:If you want to update, you can do this: