#1.显示系统时间(注:日期+时间)
SELECT NOW() AS 系统时间;
#2.查询员工号,姓名,工资,以及工资提高百分之20%后的结果
SELECT
employee_id,last_name,salary,salary*1.2 AS 新工资
FROM
employees;
#3.将员工的姓名按首字母排序,并写出姓名的长度
SELECT
last_name,SUBSTR(last_name,1,1) AS 首字母,LENGTH(last_name) AS 长度
FROM
employees
ORDER BY 首字母 ASC;