2012常用方法汇总.docVIP

  • 1
  • 0
  • 约5.11千字
  • 约 7页
  • 2016-12-19 发布于北京
  • 举报
在SQLPLUS下,-英字符集 alter session set nls_language=AMERICAN; alter session set nls_language=SIMPLIFIED CHINESE; 主要知 一、有 1)建表 create table test as select * from dept; --从已知表 create table test as select * from dept where 1=2; --从已知表 2)插入数据: insert into test select * from dept; 二、运算符 算+ - * / 可以在select 连接运算符:|| select deptno|| dname from dept; 比 = = != = like between is null in 逻辑运算符:not and or 集合运算符: intersect ,union, union all, minus 要求:列数和数据 查询中不能包含long 列 列的 使用order by 例:集合运算符的使用: intersect ,union, union all, minus select * from emp intersect select * from emp where deptno=10 ; select * fro

文档评论(0)

1亿VIP精品文档

相关文档