I want to fetch some particular row after I fetch all rows from table 'user' . 'user' table has 10 records like this
1 . ABCD
2 . hfdff
3 . uiyuiyoy
4 . uytitito
5 . piooioi
6 . GXX jhjkhh
7 . GXX uyyto
8 . GXX upupu
9 . tytuyur
10 . zvsfsgsg
So I want to show results like this
1 . ABCD
2 . hfdff
3 . uiyuiyoy
4 . uytitito
5 . piooioi
6 . tytuyur
7 . zvsfsgsg
8 . GXX jhjkhh
9 . GXX uyyto
10 . GXX upupu
I want to fetch records that starts with GXX at the last . Can it be done? Can anyone tell me how to achieve this ? what will be the query for this? Please help .