Prompt
Return every Lions player-week in the 2024 regular season with 100 or more receiving yards. Sort by yards descending, tie-break by week.
Expected output
Many rows, four columns:
| player_display_name | week | receiving_yards | receiving_tds |
|---|---|---|---|
| (player) | (int) | (int) | (int) |
Hint
This is a WHERE + ORDER BY problem — no aggregates. Same skeleton as
Challenge 1 with the threshold bumped to 100 and no LIMIT.
Solution
SELECT player_display_name, week, receiving_yards, receiving_tdsFROM weekly_statsWHERE recent_team = 'DET' AND season = 2024 AND season_type = 'REG' AND receiving_yards >= 100ORDER BY receiving_yards DESC, week ASC;Useful follow-up: change the threshold to 150 and see how many games survive.