問答題

【簡答題】完成SQL語句:統(tǒng)計(jì)二班學(xué)生中所有成績大于所有班級平均分的人數(shù)。

答案: select count(*) from student where classno=2 and score > all...
題目列表

你可能感興趣的試題

問答題

【簡答題】完成SQL語句:查詢一班學(xué)生記錄中所有成績高于本班學(xué)生平均分的記錄。

答案: select * from student where classno=1 and score > (select av...
問答題

【簡答題】完成SQL語句:按班級編號分組統(tǒng)計(jì)每個班的人數(shù),最高分,最低分,平均分,并按平均分降序排序。

答案: select classno, count(*), max(score), min(score), avg(score)...
微信掃碼免費(fèi)搜題