# Task: 030 **Database:** professional_basketball ## Question Compute the total post-season offensive rebounds and games played in their career for each player born in Oklahoma. ## Gold Query ```sql SELECT p.playerID, p.firstName, p.lastName, SUM(pt.PostoRebounds) AS total_post_offensive_rebounds, SUM(pt.GP) + COALESCE(SUM(pt.PostGP), 0) AS total_games_played FROM players p JOIN players_teams pt ON p.playerID = pt.playerID WHERE p.birthCity = 'Oklahoma City' GROUP BY p.playerID, p.firstName, p.lastName; ``` **Execution Result:** | playerID | firstName | lastName | total_post_offensive_rebounds | total_games_played | |------------|-------------|------------|---------------------------------|----------------------| | boonero01 | Ronald | Boone | 131 | 1125 | | carran01 | Antoine | Carr | 94 | 1094 | | combsle01 | Edwin | Combs | 0 | 48 | | darcehe01 | Henry | Darcey | 0 | 12 | | farmemi01 | Don | Farmer | 0 | 517 | | giddejr01 | Justin | Giddens | 0 | 38 | | griffbl01 | Blake | Griffin | 19 | 159 | | griffta01 | Taylor | Griffin | 0 | 8 | | jacksda01 | Darnell | Jackson | 0 | 143 | | mooretr01 | Tracy | Moore | 0 | 119 | | ortonda01 | Daniel | Orton | 0 | 20 | | willish02 | Shelden | Williams | 2 | 294 | *12 rows*