胜负问题的面试题

select 日期,
(select count(*) from game where 结果=’胜’and 日期=g.日期) as 胜,
(select count(*) from game where 结果=’负’and 日期=g.日期)

 as 负from game g group by 日期

比赛胜负查询合并



相关文章:

  • 2022-12-23
  • 2021-06-01
  • 2021-10-10
  • 2021-08-13
  • 2022-12-23
  • 2021-10-21
  • 2022-12-23
  • 2021-12-28
猜你喜欢
  • 2022-01-02
  • 2021-04-02
  • 2021-11-10
  • 2022-12-23
  • 2021-09-25
  • 2021-11-05
相关资源
相似解决方案