摘要: 1. 表内容: 2. 查询姓名以贾开头的员工 select * from emp_info a where a.ename rlike '^贾.*' ; 3. 查询姓名以张开头,以疯结尾的 员工: select * from emp_info a where a.ename rlike '^张.*疯 阅读全文
posted @ 2021-07-14 23:30 Avicii_2018 阅读(264) 评论(0) 推荐(0)
摘要: 1. 表格内容: select * from emp_info; 2. 查询 salary 不大于 4000 的 员工信息 select * from emp_info a where not a.salary > 4000 ; 结果: 3. 查询 salary 不大于 4000, 且 kpi 为 阅读全文
posted @ 2021-07-14 23:09 Avicii_2018 阅读(319) 评论(0) 推荐(0)