Drawing a snowflake in PostgreSQL
explainextended.com