mysql版本:
SELECT CONCAT(last_name, " ", first_name) AS NAME
FROM employees;
SQLite版本: (SQLite没有concat函数, 通过 || 来实现字符串连接)
SELECT last_name || " " || first_name AS Name
FROM employees;
mysql版本:
SELECT CONCAT(last_name, " ", first_name) AS NAME
FROM employees;
SQLite版本: (SQLite没有concat函数, 通过 || 来实现字符串连接)
SELECT last_name || " " || first_name AS Name
FROM employees;