select min(Number) from (<br>select 1 as number where not (1 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 2 as number where not (2 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 3 as number where not (3 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 4 as number where not (4 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 5 as number where not (5 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 6 as number where not (6 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 7 as number where not (7 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 8 as number where not (8 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 9 as number where not (9 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 10 as number where not (10 in (1,2,3,4,9,11,13,16,19,20))<br>union <br>select 11 as number where not (11 in (1,2,3,4,9,11,13,16,19,20))) a