sql的分组排序
group by 与 order by 的使用
之前使用的时候,网上查了下 都说group by 和order by 后面的参数必须是select 中的参数,后来自己试了下,只需要是from 表中的字段都行
select
id ,
title,
score,
creator_name ,
name,
create_time,
answer
from
questions questions0_,
q...
原创
2019-06-19 16:09:34 ·
263 阅读 ·
0 评论