The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

a newbie question regarding data selection

I am beginning to learn SQL and I am stuck trying to perform a simple query. Here are my 3 tables:

People:
ID: int(5)
Name: varchar(255)

Pets:
ID: int(5)
Name: varchar(255)
Type: varchar(255)

Ownership:
Person_ID int(5)
Pet_ID int(5)

The Ownership table makes the connection between a person and a pet.
I would like to extract the IDs of all the people who don't own a pet of type 'dog'. They are allowed to own pets of other types of course.