select topic, bbsid from bbs group by topic,bbsid
为什么不是按
你好 20071291651281950
你好 20071291739551950
你好 20071291740291950
你好 20071291757551950
你好 20071291759231950
你好 20071301542421950
dfg 20071301429251950
而是按:你好 20071291651281950
你好 20071291739551950
你好 20071291740291950
你好 20071291757551950
你好 20071291759231950
dfg 20071301429251950
你好 20071301542421950请问收索结果为下该怎么写?
你好 20071301542421950
dfg 20071301429251950
为什么不是按
你好 20071291651281950
你好 20071291739551950
你好 20071291740291950
你好 20071291757551950
你好 20071291759231950
你好 20071301542421950
dfg 20071301429251950
而是按:你好 20071291651281950
你好 20071291739551950
你好 20071291740291950
你好 20071291757551950
你好 20071291759231950
dfg 20071301429251950
你好 20071301542421950请问收索结果为下该怎么写?
你好 20071301542421950
dfg 20071301429251950
(select topic, bbsid from bbs group by topic,bbsid) a order by topic
select topic, bbsid from bbs group by topic,bbsid
order by topic,bbsid2
select topic, min(bbsid) as bbsid from bbs group by topic
order by topic
from bbs
group by topic,bbsid
order by topic,bbsid要指定Order By的栏位.