[b]data in myTable1[/b]
<font color='"Blue"'>(ID) name</font>
<font color='"red"'>(3) Jack</font>
I have data in myTable1 like the above.
Because (3) Jack is a kind of sticky, I like to make jack comes first or last.
The following would-be code is one of my trials.
But it seems to be not work as I want.
[b]would be code[/b]
select id, name, CASE WHEN id = '3' THEN 1 ELSE 2 END AS ORDER_KEY
order by ORDER_KEY, id
<font color='"Red"'>(3) Jack</font>