Q&A

Q1:When joining tables, must they be joined in the same order that they appear in the FROM clause?
A1: No, they do not have to appear in the same order; however, performance benefits may be experienced depending on the order of tables in the FROM clause and the order that tables are joined.
Q2:When using a BASE TABLE to join unrelated tables, must I select any columns from the base table?
A2: No, the use of a BASE TABLE to join unrelated tables does not mandate columns for selection from the base table.
Q3:Can I join on more than one column between tables?
A3: Yes, some queries may require you to join on more than one column per table to provide a complete relationship between rows of data in the joined tables.

Get Sams Teach Yourself SQL in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.