Multiple choice technology

Which two statements are true regarding the USING and ON clauses in table joins?

  1. Both USING and ON clauses can be used for equijoins and nonequijoins.

  2. A maximum of one pair of columns can be joined between two tables using the ON clause.

  3. The ON clause can be used to join tables on columns that have different names but compatible data

  4. The WHERE clause can be used to apply additional conditions in SELECT statements containing the

Reveal answer Fill a bubble to check yourself
C,D Correct answer
Explanation

The ON clause allows joining tables on columns with different names as long as data types are compatible (option C) - this is its primary advantage over USING. The WHERE clause can always add additional filter conditions after the JOIN clause (option D). Option A is false: USING only works for equijoins (columns with same name), while ON works for any condition. Option B is false: the ON clause can join on multiple column pairs using AND conditions.