Okay - I'm going to at least try these in SQL.