Putting Two Columns into one In MYSQL

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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s