SELECT Sheet1.MZ
FROM Sheet1
GROUP BY Sheet1.MZ
ORDER BY Left([MZ],1) DESC , Right([MZ],1); 里的DESC是什么意思?作者: myszh 时间: 2007-3-1 21:30
DESC 降序 的意思[em04]作者: lhybird 时间: 2007-3-7 06:12
谢谢大家的帮助作者: lhybird 时间: 2007-3-25 09:25
andymark 的sql
SELECT *
FROM Sheet1
WHERE MZ In ("M1","M2","M3","E1","E2","E3","G1","G2","G3","A1","A2","A3")
ORDER BY InStr(",M1,M2,M3,E1,E2,E3,G1,G2,G3,A1,A2,A3,","," & MZ & ",");