Course
Simulator
More
Premium
Log in
SQL Function Reference
Functions
CONCAT
CONCAT
Returns a string created by concatenating all arguments
MySQL
CONCAT
(
str
,
[
str
,
]
.
.
.
)
If at least one of the arguments is
NULL
, returns
NULL
.
Examples
MySQL
SELECT
CONCAT
(
'sql'
,
'-'
,
'academy'
)
;
MySQL
SELECT
CONCAT
(
'sql'
,
NULL
)
;