Here's one,
I have two related tables in my database. They contain the names of departments, who is in those departments and whether they have the relevant authorisation to approve orders etc..
The database deals with orders, so in several places I need to check if the person logged into the...