条件查询之not

(10)not 查询出薪水不包含1600和薪水不包含3000的员工(第一种写法) select * from emp where sal <> 1600 and sal <> 3000;   查询出薪水不包含1600和薪水不包含3000的员工(第二种写法 select * from emp where not (sal = 1600 or sal = 3000); 查询出薪水不包含1600和薪水不
相关文章
相关标签/搜索