I have two tables, events and locations. Each has a column named venue_id to match an event to the correct location. venue_id is not the primary key.
What query could I run to delete the rows in locations that have no event linked to them?
This should do it :