Hi Keith,
I tried that, using the following sql:
select tips.id, tips.tipname from tips left join events on tips.id=events.tip where events.tip is null.
This gave me all the rows from tips of which the id was not present in events.tip.
However, i only want to take the rows in events in consideration where events.type=1 and events.user='x'
If i add this to the query above and make:
select tips.id, tips.tipname from tips left join events on tips.id=events.tip where events.tip is null and events.type=1 and events.user='x' it returns no rows whatsoever. Ergo: incorrect query.
I could not figure out what the query should be that compares events.tip for all the rows in events where user='x' and type=1 with tips.id... is this possible?
Thanks:-)