First three SQL queries