MySQL外连接、子查询、分页查询、联合查询、DDL

2020年6月6日 人的一生,能说清楚的话,确实不多 查询员工姓名、入职日期并按入职日期升序排列 select last_name,hiredate from employees order by hiredate asc 查询员工姓名、入职日期并按入职日期的年份升序排列 思路:按年进行截取 date_formate(hiredate,’%Y’) year(hiredate) 同理month(hi
相关文章
相关标签/搜索