單項選擇題

例如數(shù)據(jù)庫中有A表,包括學生,學科,成績?nèi)齻€字段,數(shù)據(jù)庫結(jié)構(gòu)為
學生學科成績
張三語文80
張三數(shù)學100
李四語文70
李四數(shù)學80
李四英語80
如何統(tǒng)計每個學科的最高分()

A.select學生,max(成績)fromAgroupby學生;
B.select學生,max(成績)fromAgroupby學科;
C.select學生,max(成績)fromAorderby學生;
D.select學生,max(成績)fromAgroupby成績;

微信掃碼免費搜題