Putting Two Columns into one In MYSQL

2008 December 9

No Biggie but in a single select clause you can use the concat to combine fields like so

Select concat(vw_curr_new_over4_names_fxd.NAREA,’ ‘,vw_curr_new_over4_names_fxd.Area_name)AS AREA

Note the use of commas and the single ‘ mark to provide a space the result is this new Field

110 Fultondale/Gardendale/MtOlive

From these two old fields

From NAREA=110

and Area_name=Fultondale/Gardendale/MtOlive

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS