Jump to content

SQL Aliasing


eldan88

Recommended Posts

Hey guys! I am getting into mysql aliasing, and have tried to run a query on the following code below.  Its only showing the Address field as "80" When it needs to show 80-20 188st. The city and Country is also not showing for some reason. Below is the SQL statement I am trying to use.

SELECT CustomerName, Address+', '+City+', '+Country AS Address FROM sandbox;

Attached is my table structure I created through HEIDI SQL,along with the row data and redsult query.

 

 Any help would be really appreciated!!!

 

 

post-125484-0-72682800-1393111592_thumb.png

post-125484-0-22943400-1393111625_thumb.png

post-125484-0-71775200-1393111636_thumb.png

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.