【发布时间】:2010-11-02 08:41:10
【问题描述】:
示例 -
select * from discussion where title like '%india%'
UNION
select * from discussion where title like '%Australia%'
它以讨论 ID 的顺序显示结果,混合了两种类型的结果
我想先显示印度的结果,然后是澳大利亚的结果,我不能使用选项 ALl,因为我还需要删除重复的行。
应该怎么做?
【问题讨论】:
标签: sql sql-order-by union union-all