我有一个类似这样的查询
select city_desc from mst_city where upper(city_desc) like upper('%branch%')
它填充结果those which start with branch和those which contains branch. 以随机顺序。
我想订购它,以便结果首先显示所有搜索结果,those which start with branch然后显示所有those which contains branch.
我怎样才能做到这一点。我知道我可能不得不使用Order By条款。但我无法弄清楚