Solving the Impossible Puzzle with PostgreSQL
explainextended.com