There are several ways to solve it.
1 / Modify the data so that 10 is actually in the table (and not NULL):
update table TBL set FLD = 10 where FLD is null;
2 / Modify your query to return different values ββfor NULL:
select FLD1, FLD2, case where FLD3 is null then 10 else FLD3 end from ...
3 / Create a view to make option 2 above automatically.
I would prefer to switch to option 1, as it is likely to be the most effective.
SQL does not indicate how NULLs are sorted (although I think it indicates that they should be contiguous) - this means that they can be at the beginning or end (or perhaps in the middle, although I never saw this happen )
, , , . , , NULL 10 .
10. . , - 10 , 10 11 9999 .