49

Player Statistics

MediumJOINSUMGROUP BY

Problem Description

Write a SQL query to get total runs scored by each player.

Expected Columns

  • player_name
  • total_runs

Example Output

| player_name | total_runs | |-------------|------------| | Virat Kohli | 112 | | Suryakumar Yadav | 105 | | David Warner | 95 | | ... | ... |

Hints

Unlocks after 2 more attempts
Submit your solution to unlock hints

Related Topics

JOINSUMGROUP BYORDER BY
//#49 Player Statistics
Medium

Loading schema...

Loading editor...

No results yet

Run a query to see results