为了账号安全,请及时绑定邮箱和手机立即绑定

mysql语句问题

mysql语句问题

遇见2022 2017-11-10 11:54:55
select * from (select goods_id,cat_id,goods_name,shop_price from goods order by cat_id asc,shop_price desc)  tmp group by cat_id  ;这个语句不能允许需要1.create table op (select goods_id,cat_id,goods_name,shop_price from goods order by cat_id asc,shop_price desc);2.select * from op group by cat_id;这是什么原因啊?
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 1070 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信