I have one TABLE
TABLE A
COL 1 COL 2 COL 3 COl 4
fname lname phone email
And I want to insert the name of firstname & lastname I mean name = fname + lname
My Query is
INSERT INTO `user_accounts` (`name`, `phone`, `email`)
SELECT (`COL 1` +` COL 2`), `COL 3` , `COL 4` FROM `TABLE A`
How can i insert with select statement? Can i use the concat function?.
CONCATfunction instead of+to concat field - Sadikhasan