I got a table named mrhs84 with fields lname, fname, and section. I want to string them together into a single query field that looks like this: Calmada, Dong (A).
PostgreSQL | select mrhs84.lname || ', ' || mrhs84.fname || ' (' || mrhs84.section || ')' as person from mrhs84; |
MySQL | select concat(mrhs84.lname,', ',mrhs84.fname,' (',mrhs84.section,')') as person from mrhs84; |