我有一个表“用户”
用户名| 玩| 时间
我想在哪里选择用户名play=1 and time is max。
play=1 and time is max
试试这个
select username from users where play=1 and time in(select max(time) from users)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
点击生成二维码
我来说两句