データベースExerciseに対して、以下の参照系SQL文(SELECT文)を実行し、実行結果となるようなJavaプログラムSelect.javaを作成する。

SELECT Course_ID, Student_ID, MAX(Grades) FROM Registration GROUP BY Course_ID;

実行結果
% java -classpath .;./ConnectorJ.jar Select
Connected to MySQL Server.
Course_ID = A01, Student_ID = S001, MAX(Grades) = 78
Course_ID = F01, Student_ID = S002, MAX(Grades) = 90
Course_ID = F11, Student_ID = S002, MAX(Grades) = 95
Course_ID = F12, Student_ID = S002, MAX(Grades) = 90
Course_ID = F21, Student_ID = S003, MAX(Grades) = 95
Course_ID = F22, Student_ID = S003, MAX(Grades) = 92
Course_ID = F31, Student_ID = S001, MAX(Grades) = 95
7 rows were returned.
Disconnected from MySQL Server.

どなたかお願いします。