How to add extra word to each MySQL record.
Example Table:
|1 | David
|2 | Fin
|3 | Ronny
|4 | Lisa
Required:
|1 | T David
|2 | T Fin
|3 | T Ronny
|4 | T Lisa
Thanks for your help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Just concatenate the string literal with
CONCAT()it into the column with anUPDATEstatement:If you need to limit this to certain rows, be sure to use a
WHEREclause: