摘要:
oracle 中的(+)是一种特殊的用法,(+)表示外连接,并且总是放在非主表的一方。 例如 左外连接:select A.a,B.a from A LEFT JOIN B ON A.b=B.b; 等价于 select A.a,B.a from A,B where A.b = B.b(+); 再举个例 阅读全文
摘要:
单个临时表语法格式:with tmp as (select * from tb_name) 多个临时表的语法: withtmp as (select * from tb_name),tmp2 as (select * from tb_name2),tmp3 as (select * from tb_ 阅读全文
摘要:
1.格式如下 insert into tablename (字段名1,字段名2,...,字段名3) select 字段名1,字段名2,...,字段名3 from tablename where id=... 2.例子 insert into Z_SFC_BIND_SN_DETAIL (HANDLE, 阅读全文