Which function combines rows from two tables based on a matching key column?
- A. OPTIMIZE
- B. A JOIN✓ Correct
- C. VACUUM
- D. A UNION of unrelated columns
Explanation
A JOIN combines rows using matching key values. UNION stacks compatible result sets; OPTIMIZE rewrites files for performance, and VACUUM removes eligible unreferenced files. These maintenance operations do not join tables.