SELECT SUBSTRING_INDEX("SMITH JOHN"," ",1) AS LastName,SUBSTRING_INDEX("SMITH JOHN"," ",-1) AS FirstName
This is my solution to your answer.
Iยดll try to do this using SUBSTRING, MID, LOCATE, ETC., but this function works better.
You can test this using mysqlcc, or mysql, just type this an execute de statement.
Bye.
Ramsore