I’ve written entirely too much SQL for a Monday, and I fucking love writing SQL.