唐僧还在拜佛求经路。  

 IN操作符
      select * from scott.emp where empno=7369 or empno=7566 or empno=7788 or empno=9999;
      select * from scott.emp where empno IN (7369,7566,7788,9999);
      select * from scott.emp where  NOT IN (7369,7566,7788,9999);  相反

    复习:
        找出佣金高于薪金的百分之60的员工。
        select * from scott.emp where comm>sal*0.6;

posted on 2017-10-04 10:27  唐僧还在拜佛求经路。  阅读(206)  评论(0编辑  收藏  举报