0

My query is:

SELECT id, name, total FROM <table> order by total

This results in the following table:

id |  name | total
1  |  Amy  |   
2  |  Xin  |
3  |  Ray  | 13
4  |  Aly  | 7
5  |  Shy  | 3

The first 2 records return a NULL in the total column. How should i change my order by to make the "total" column descending with the NULL values below the numeric values?

Antiwoutertje
  • 139
  • 1
  • 2
  • 8

0 Answers0