This query uses the Authors table and the Publishers table and shows not
only authors who have publishers in the same city, but also authors without
publishers in the same city.
- Create a datasource to the pubs database on SQL Server.
- Create a new remote View, and select your new datasource created
in step 1.
- Select the Authors table.
- Click again, and select the Publishers table.
- The join condition dialog appears showing:
Publishers.city - Authors.city
- Change the join condition to Right Outer Join.
- Select the following fields from the Authors table:
authors.au_fname
authors.au_lname
- Select the following field from the Publishers table:
Publisher.pub_name
- Run the query.