If I have two tables: Users and Appointments. How would I query the db to find something like the following:
SELECT * FROM users WHERE (none of: appointments.user = user.id)
I am assuming I would need some type of join with the appointments table, just not sure where to start.