⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 table41.sql

📁 Oracle 9i中文版基础培训教程
💻 SQL
字号:
select  *  from  scott.emp  where  job='MANAGER';
select  *  from  scott.emp  where  sal=1100;


select  *  from  scott.emp  where  job!='MANAGER';
select  *  from  scott.emp  where  sal!=1100;


select  *  from  scott.emp  where  job^='MANAGER';
select  *  from  scott.emp  where  sal^=1100;


select  *  from  scott.emp  where  job<>'MANAGER';
select  *  from  scott.emp  where  sal<>1100;


select  *  from  scott.emp  where  sal<2000;
select  *  from  scott.emp  where  job<'MANAGER';


select  *  from  scott.emp  where  sal>2000;
select  *  from  scott.emp  where  job>'MANAGER';


select  *  from  scott.emp  where  sal<=2000;
select  *  from  scott.emp  where  job<='MANAGER';


select  *  from  scott.emp  where  sal>=2000;
select  *  from  scott.emp  where  job>='MANAGER';


select  *  from  scott.emp  where  sal in (2000,1000,3000);
select  *  from  scott.emp  where  job in ('MANAGER','CLERK');


select  *  from  scott.emp  where  sal not in (2000,1000,3000);
select  *  from  scott.emp  where  job not in ('MANAGER','CLERK');


select  *  from  scott.emp  where  sal  between 2000 and 3000;
select  *  from  scott.emp  where  job  between 'MANAGER' and 'CLERK';


select  *  from  scott.emp  where  sal  not between 2000 and 3000;
select  *  from  scott.emp  where  job  not between 'MANAGER' and 'CLERK';


select  *  from  scott.emp  where  job  like  'M%';
select  *  from  scott.emp  where  job  like  'M__';


select  *  from  scott.emp  where  job  not  like  'M%';
select  *  from  scott.emp  where  job  not  like  'M__';


select  *  from  scott.emp  where  sal  is null;
select  *  from  scott.emp  where  job  is null;


select  *  from  scott.emp  where  sal  is  not  null;
select  *  from  scott.emp  where  job  is  not  null;




⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -