Use the where clause to determine which rows are included in the results of a join statement.
where authors.city = publishers.city
This where clause gives the names of the columns to be joined, qualified by table names if necessary, and the join operator—often equality, sometimes “greater than” or “less than.”
The where clause of a join statement can include conditions other than the one that links columns from different tables. In other words, you can include a join operation and a select operation in the same SQL statement.