added constraints to create.sql, started queries.sql (not finished)