摘要: 1. 查询出部门编号为30的所有员工 select * from wrc where deptno; 2. 所有销售员的姓名、编号和部门编号。 select ename,job,deptno from wrc; 3. 找出奖金高于工资的员工。 select * from wrc where comm 阅读全文
posted @ 2018-05-04 20:20 鲁系大厨 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 查询所有列 seletc * from 表名; 查询指定的列 select * from 表名 where 条件 查询时添加常亮列 select cname as"名字" from 表名 查询时合并 select (js+html) from 表名 select (js+html) as"成绩" f 阅读全文
posted @ 2018-05-04 11:59 鲁系大厨 阅读(135) 评论(0) 推荐(0) 编辑