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 | +------------------------------------+
|
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.