Home Tutorial Php Sql MySQL Append

 
 

MySQL Append
Posted on: December 9, 2010 at 12:00 AM
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                         |
+------------------------------------+

 

 

Related Tags for MySQL Append:


Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.