SQL2 ORDER BY - List resources in last if they don't have ORDER BY property
Hi,
I want to sort my result in ascending order on the basis of property (which is of double type).
And, if any resultant resource does not have that property should be listed later after resources which are having this property.
For eg. If there are three resources A,B & C, having property value as below:
| Resource Name | Property Name | Property Value |
| A | ranking | 1.4 |
| B | property does not exist | |
| C | ranking | 1.2 |
My output should be C A B.
Currently, If I use DESC after my ORDER BY clause, I am getting A C B
And if I am using ASC after ORDER BY clause, I am getting B C A.
Could you please help me out to sort on the basis of ranking as per ASC order and if result does not have property should appear after those resources which are having this property.