I have a int
column in my table in a SQL
database.
I keep some of codes in this table.
For sample range of my codes is : (1, 9).
I need to not used code in this range.
Example:
Used Codes is :
Select code from MyTable -- result is 2,6,7,8,9
Not used codes is : 1,3,4,5
Now , how can I select this codes? Expected result is : 1,3,4,5