このようなクエリがあります
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
句を使用する必要があるかもしれないことを知っています。しかし、私はそれを理解することができません