These are the basic SQL queries for our DB.

Enjoy!