古巷的猫 2023-04-03 10:55 采纳率: 70.8%
浏览 21
已结题

这个SQL语句该怎么改呢呀

select * from exam_result where math > 80 or select * from exam_result order by chinese desc limit 3;
在exam_result表中查询出数学成绩大于80的或者语文成绩前三的的学生信息

  • 写回答

5条回答 默认 最新

  • 小小小小人水豚 2023-04-03 11:02
    关注
    select * from exam_result where math > 80 or chinese in (select chinese from exam_result order by chinese desc limit 3);
    

    有帮助的话,请点采纳该答案~

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(4条)

报告相同问题?

问题事件

  • 系统已结题 4月11日
  • 已采纳回答 4月3日
  • 修改了问题 4月3日
  • 创建了问题 4月3日