User Tools

Site Tools


oracle:sql:union

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
oracle:sql:union [2021/08/11 10:53] – created peteroracle:sql:union [2021/08/11 10:54] (current) peter
Line 1: Line 1:
 ====== Oracle - SQL - Union ====== ====== Oracle - SQL - Union ======
 +
 +===== Union =====
  
 <code sql> <code sql>
Line 6: Line 8:
 SELECT column_name(s) FROM table_name2 SELECT column_name(s) FROM table_name2
 </code> </code>
 +
 +----
 +
 +===== Union All =====
 +
 +<code sql>
 +SELECT column_name(s) FROM table_name1
 +UNION ALL
 +SELECT column_name(s) FROM table_name2
 +</code>
 +
oracle/sql/union.1628679226.txt.gz · Last modified: 2021/08/11 10:53 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki