使用SQL语言查询订票次数超过20次的身份证号及订票次数。
SELECT身份证号, COUNT(*)FROM订票GROUP BY身份证HAVING COUNT(*)>20;(注:*号可以换成订单号、身份证号、车号、订购日期中的任何一个)
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/235392.html
上一篇:Question and Answer:Give brief answers to the following question in English.“In your rocking-chair, by your window dreaming, shall you long, alone. In your rocking-chair, by your window, shall you dream such happiness as you may never feel.” T
下一篇:商业银行最基本的职能是( )