added missing sections to queries.sql