Data & Analysis
Turn a business question into a SQL query
Describe your tables and the question you need answered and get a correct, commented SQL query with assumptions spelled out.
No ratings yet
3fill-in fields0copies
Tag
6 prompts tagged SQL.
6 prompts
Describe your tables and the question you need answered and get a correct, commented SQL query with assumptions spelled out.
Set up a proper cohort retention analysis, from defining cohorts and the activity event to producing the table and reading it correctly.
Paste a slow or suspicious SQL query and get correctness checks, performance fixes, and a cleaner rewrite you can verify.
Turn feature requirements into a normalized schema with keys, constraints, indexes and the tradeoffs explained.
Find why a query is slow and get a faster version, index suggestions and a way to prove the improvement.
Describe the question and your tables, and get a correct, readable query with an explanation and edge cases.