SQL多重查询 怎么按照子查询排序
"select ,(select count() from dan as b where b.diquGUIDS=a.GUIDS) as d from diqu as a order by d"
这个SQL语句去掉后面的排序 就对 有排序就出现至少一个值未被指定 求高手赐教 怎么按照子查询排序
bug12345678
2015/07/01 14:53- as
- select
- sql
- 点赞
- 收藏
- 回答
5个回复

"select ,(select count() from dan as b where b.diquGUIDS=a.GUIDS) as d from diqu as a order by d"
这个SQL语句去掉后面的排序 就对 有排序就出现至少一个值未被指定 求高手赐教 怎么按照子查询排序