Home Tutorial Php Sql MySQL Append

 
 

Share on Google+Share on Google+
MySQL Append
Posted on: December 9, 2010 at 12:00 AM
Advertisement
This example illustrates how to append the value of two column.

MySQL Append

This example illustrates how to append the value of two column.

In this example we use the 'CONCAT' function to append the two values of two column.

 

Query

 

SELECT CONCAT(first_name, " ", last_name) 
from roseindia where city = 'lucknow';

 

Output

 

+------------------------------------+
| CONCAT(first_name, " ", last_name) |
+------------------------------------+
| sandeep suman                      |
| amit raghuvansi                    |
| amar patel                         |
+------------------------------------+

 

 

Advertisement

Related Tags for MySQL Append:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: December 9, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com