I have a table with list of all country names along with amount field. What I need is to display the country name with amount not equal to 0 at top order in ascending order of name and then display the country with amount value 0.
Name          Amount
Afghanistan    0
Argentina      0
China          0.1
Crotia         0
Hongkong       0.08
India          0.2
Singapore      0.007
Taiwan         0.22
Required Output:
Name          Amount
China          0.1
Hongkong       0.08
India          0.2
Singapore      0.007
Taiwan         0.22
Afghanistan    0
Argentina      0
Crotia         0
I have tried following till now but its not working.
select * from countries where amount !=0 ORDER by name ASC 
UNION ALL
SELECT * from countries where amount == 0 ORDER BY name ASC
 
     
     
     
    