I have three databases:
1.) A database of people, each with a unique number
2.) A database of dates where something happened, each with a unique number
3.) A database of who went to these events, meaning a table with a person number and an event number in the same row. To Query who DID go to work on any given day, I can do this:
SELECT "people"."last_name",
"ev_dates"."event_date",
"attendee"."id",
"attendee"."ev_id"
FROM "attendee",
"people",
"ev_dates"
WHERE "attendee"."id" = "people"."id"
AND "attendee"."ev_id" = "ev_dates"."id"
However, I can't figure out how to query someone who DIDN'T go to an event. It would essentially mean that there is no match between a person and an event in a third table. Sort of SELECT "PEOPLE"."LASTNAME" WHERE NO MATCH BETWEEN EVENTID AND PERSONID EXISTS.
If I were to just change the equals to the not equals, I get a list of all the other days people did show up.
This happens to be libreoffice base.