Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email.

Free Microsoft SQL training exercise

This relatively easy SQL exercise is provided to allow potential course delegates to choose the correct Wise Owl Microsoft training course, and may not be reproduced in whole or in part in any format without the prior written consent of Wise Owl.

You can learn how to do this exercise on the following Wise Owl training course: This course also includes a full answer to this exercise.
First download the files needed to start this exercise: ex-947 (and click here if you experience any problems unzipping this file after downloading it).

Showing all continents with no countries

If you haven't already got it set up in SQL server, restore the Historical Events database from the above folder.

Use a left outer join to show all of the continents with no matching countries:

SQL exercise - More exotic joins (image 1)

The result of running your query

Save this query as Unpopulated continents, then close it down.

If you have time (and energy), repeat this trick to show that Latvia and Uruguay are the only countries with no corresponding events.

All content copyright Wise Owl Business Solutions Ltd 2013. All rights reserved.