I have a table containing numbers, range between 1-1000 they are unique, but I need to identify which of the number are missing in the range 1-1000 from the table using Oracle SQL,
1,3,4,5,6,8,9,10
result 2,7
Could anyone help with a script or URL to a script.?
You could use:
EDIT:
To find out which numbers are missing from the sequence without hardcoded 1000: