Chapter - 7: Let's Make Coding Fun!
Chapter - 7: Let's Make Coding Fun!
Sub-quERiES
UNION Syntax
SELECT column_name(s) FROM table1
UNION
SELECT column_name(s) FROM table2;
UNION ALL Syntax
Note: The column names in the result-set are usually equal to the
column names in the first SELECT statement in the UNION.
CONCLuSiON
In this chapter, we have covered about sub-query and
learned how to create and composition of query using
operator and sub-queries.