Oracle
he_wen_jian
这个作者很懒,什么都没留下…
展开
-
Oracle 表连接方式(内连接/外连接/自连接) 详解
Oracle 表之间的连接分为三种: 1. 内连接(自然连接) 2. 外连接 (1)左外连接 (左边的表不加限制) (2)右外连接(右边的表不加限制) (3)全外连接(左右两表都不加限制) 3. 自连接(同一张表内的连接) SQL的标准语法: select table1.column,table2.column转载 2013-04-03 18:08:19 · 947 阅读 · 0 评论 -
Oracle Group by的语法
Group by的语法 Select [filed1,fild2,]聚合函数(filed), [Grouping(filed),] [Grouping_id(filed1,filed2,…)] From tablename Where condition [Group by {rollup|cube}(filed,filed2)] [having cond转载 2013-04-12 11:52:33 · 1204 阅读 · 0 评论