信息技术 高三 选择题 标准 ★ 精品

ORDER BY 排序 — 信息技术选择题

信息技术(高中·浙教版) 第六章 排序与分组统计 AI 三重审校通过

题目
某运动会的成绩表 results 含字段:score(得分)、team(代表队编号)、event(项目编号)。现需查询结果满足:先按项目编号升序排列;同一项目中按得分降序排列;得分相同时,代表队编号小的排前。下列 ORDER BY 子句书写正确的是(  ) A. ORDER BY event ASC, score DESC, team ASC B. ORDER BY event DESC, score ASC, team ASC C. ORDER BY event ASC, score ASC, team DESC D. ORDER BY score DESC, event ASC, team ASC