SQL

Postgres SQL:
http://www.depesz.com/index.php/2009/01/21/waiting-for-84-window-functions/#more-1369

[SURVEYS 1]