hi pls help
how to orderby query records except one particular record at last
am trying this but not working
select SubCategory_Name,Ranking from dbo.M_SubCategory where
CategoryID='82A2D4EE-B118-4F0F-AE26-332B286A34DF' and SubCategory_Name!='others' order by SubCategory_Name
UNION
select SubCategory_Name,Ranking from dbo.M_SubCategory where SubCategory_Name='others' and CategoryID='82A2D4EE-B118-4F0F-AE26-332B286A34DF'
please help.