****** sql的排序问题,进来有分******

lijun_xiao2009 lijun_xiao2009 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
select Sh_dTGold.Tid,Sh_dTGold.Tprice,Sh_dTGold.Tquantity,Sh_dTGold.Tstate,Sh_Game.Gname,Sh_Server.Sname
from Sh_TGold,Sh_Game,Sh_Server
where Sh_dTGold.Gid = Sh_Game.Gid
and Sh_dTGold.Sid = Sh_Server.Sid
and Sh_dTGold.Gid =1 order by Sh_Server.Sname, Tquantity desc
我想先按Sh_Server.Sname,再按Tquantity 倒序,但这样写不可以,是怎么回事

...全文

相关推荐

评论 32
收藏 已收藏
分享
返回顶部
lijun_xiao2009
疑难问题 22,299 成员 121,727 内容