1、Exists and All
EXISTS is used in subquery, when the return of the subquery have rows is True, else if no rows return is False. examples:












ALL is another unusual keyword in SQL statement, and usually it can replace by another keywords.
example:

























2,Union
Keyword UNION will eliminate same rows copy automatice, but in the single query, you must use keyword DISTINCT.