SQL Stuff

Document with SQL stuff left to do