73

All-Rounders Performance

MediumJOINSUMWHERE

Problem Description

Write a SQL query to find all-rounders (runs > 0 AND wickets > 0 in any match).

Expected Columns

  • player_name
  • total_runs
  • total_wickets

Example Output

| player_name | total_runs | total_wickets | |-------------|------------|---------------| | Ravindra Jadeja | 38 | 2 | | Andre Russell | 65 | 1 | | Sunil Narine | 28 | 4 | | Axar Patel | 22 | 3 |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints

Related Topics

JOINSUMWHEREGROUP BY
//#73 All-Rounders Performance
Medium

Loading schema...

Loading editor...

No results yet

Run a query to see results