What's an SQL query you've written that was hard and/or fun to write? | Hacker News Reader