append mysql text to select from?
Hello everyone
Normally I use PHP with MySQL to query data from the DB and use PHP to add the appropriate unit, e.g. liters, grams, euros, etc.
Now I just have to make do with SQL.
How can I add this if I, for example,
select SP1, SP2 from mytable where ….
Thanks
My old answer only goes to PostgresSQL, I did not read your question properly sorry. In MySQL you use the CONCAT function:
— Original answer —
If I understand it correctly, you want an issue like
You can use a concatenation operator in the issue. That’s what it looks like.
Okay, thanks. Thought it was obsolete.