Added initial sql-queries.
Added 3 and 7 query.