Draft a SQL query from a data question and the database schema, with a short explanation of what it does.
Draft SQL that puts survey response categories into report columns.
Get a pivot SQL query back in the chat thread, with totals explained and columns matched to your database schema.
Draft SQL counts of respondents who meet a study's stated criteria.
Get a SQL count query in the chat thread, with a clear note on what it counts and which conditions it uses.