摘要: 描述 分页查询employees表,每5行一页,返回第2页的数据 drop table if exists `employees` ; CREATE TABLE `employees` ( `emp_no` int(11) NOT NULL, `birth_date` date NOT NULL, 阅读全文
posted @ 2021-11-17 21:57 杜嘟嘟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: 描述 查找排除在职(to_date = '9999-01-01' )员工的最大、最小salary之后,其他的在职员工的平均工资avg_salary。CREATE TABLE `salaries` ( `emp_no` int(11) NOT NULL,`salary` int(11) NOT NUL 阅读全文
posted @ 2021-11-17 21:51 杜嘟嘟 阅读(65) 评论(0) 推荐(0) 编辑