SQL: practice by query scenario
Give a table and five progressive exercises
Prompt
Copy it whole, then replace the brackets with your own contentTeach me: SQL: practice by query scenario. My level: [none / experienced] Requirements: Give the tables and five progressive exercises. Test me first, then explain, with one example per section.
Replace the text in [ ] with your own situation; ask long tasks in stages.
How to get better results
Read this before you fill it inLearning SQL by practicing as you go.
Start with a concrete example, then the definition; no more than three sentences per paragraph; finish with three self-test questions and answers.
Given an orders table, design 5 progressive exercises (filtering, grouping, window functions), with answers.
Only reading syntax without writing Unrealistic table schemas No walkthroughs of wrong answers
If I didn't understand, re-explain with an everyday analogy, don't repeat the same words.
More like this: Learning prompts · All prompts