Task: Text to Code
Input (English): Step 1: For each row in Player table, find the corresponding rows in Tryout table.
Step 2: find each value of pPos in the results of step 1 along with the maximum HS of the corresponding rows to each value
Output (English): SELECT Max ( T1.HS ) , T2.pPos FROM Player AS T1 JOIN Tryout AS T2 ON T1.pID = T2.pID GROUP BY T2.pPos