Added SQL queries to query MySQL.