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
https://forums.phpfreaks.com/topic/286427-sql-aliasing/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.