오라클 공식 select 문법 구조
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_10002.htm]
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img/subquery.gif]
outer join
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_10002.htm]
[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img/subquery.gif]
[ subquery_factoring_clause ] SELECT [ hint ] [ { { DISTINCT | UNIQUE } | ALL } ] select_list FROM { table_reference [, table_reference ]... | join_clause | ( join_clause ) } [ where_clause ] [ hierarchical_query_clause ] [ group_by_clause ] [ HAVING condition ] [ model_clause ] [ { UNION [ ALL ] | INTERSECT | MINUS } (subquery) ] [ order_by_clause ][링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img_text/subquery.htm] |
hierarchical
[ START WITH condition ]CONNECT BY [ NOCYCLE ] condition[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img_text/hierarchical_query_clause.htm] |
outer join
[ query_partition_clause ]{ outer_join_type JOIN | NATURAL [ outer_join_type ] JOIN } table_reference [ query_partition_clause ] [ ON condition | USING ( column [, column ]...) ][링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img_text/outer_join_clause.htm] inner join { [ INNER ] JOIN table_reference { ON condition | USING (column [, column ]...) } | { CROSS | NATURAL [ INNER ] } JOIN table_reference }[링크 : http://docs.oracle.com/cd/B19306_01/server.102/b14200/img_text/inner_cross_join_clause.htm] |
'프로그램 사용 > oracle' 카테고리의 다른 글
sql order by (0) | 2014.06.01 |
---|---|
sql outer join (0) | 2014.06.01 |
sql group by (0) | 2014.05.30 |
sql distinct (0) | 2014.05.29 |
oracle 대소문자 구분없이 검색하기 (0) | 2014.05.28 |