Question: (h) Write a SQL statement to show the TEAMID, TEAMNAME and total game played (as TOTALGAME) for each team and the result should be sorted

(h) Write a SQL statement to show the TEAMID, TEAMNAME and total game played (as TOTALGAME) for each team and the result should be sorted with respect to the TEAMID in ascending order. Here is the expected resultant table. [596] TEAMID TEAMNAME TOTALGAME Riders Motors Eagles Panthers 2 3 3 3 ??Knights 2 2 Suns Sonics Warriors Lions 3 Hint: Use GROUP BY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
