遇到一段小程序需要使用distinct,居然在select时不能使用,幸好还有变通的方法!
select  XXX.abc
from XXX
order by XXX.abc
as set with 1 rows
selectdo
endselect

相关文章: