Moved queries.sql to database/queries.sql