Suppose I have a query likes:
SELECT name FROM product WHERE id = 28;
The result is "HTC Desire HD"
I want this result to be replaced with XX in the string "I Like XX", after replacing, the string is "I Like HTC Desire HD"
Likes the PHP printf function, can I use MySQL to do that?
SELECT CONCAT(firstName, ' ', lastName). Unless that's just bad practice I'm not aware of (I'm no expert on SQL).