Detailed explanation and options for the selected question.
UNION combines results of two queries and removes duplicates by default. JOIN links tables, WHERE filters rows, and ORDER BY sorts rows.