It would make me quite happy to, someday, replace this giant raw SQL query with... well anything really.