
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Add Two or More Strings in MySQL
A string function called CONCAT() is used to concatenate two or more strings as a single string in MySQL.
Syntax
CONCAT(String1,String2,…,StringN)
Here, the arguments of CONCAT functions are the strings which need to be concatenated as a single string.
Example
mysql> Select CONCAT('Ram','is','a','good','boy') AS Remarks; +---------------+ | Remarks | +---------------+ | Ramisagoodboy | +---------------+ 1 row in set (0.00 sec)
Advertisements