I am trying to optimize a query and stuck. Any help appreciated. Basically there are two tables, one for people and another for events for the people. The structure is something like –
table 1 - people - columns - peopleid, name
table 2 - events - columns - event name, peopleid, description
I want to figure out the people with no events, without using a subquery. I was doing it with a subquery but the performance has degraded a lot and i need to optimize.
Thanks for any help
1 Answer