I have table `EMP` which has only 1 column `id`

I have below input

```
1
3
4
6
10

```

I want output

```
2
5
7
8
9

```

I have written the below query

```
select level from dual connect by level<=10 
minus 
select id from emp;

```

Is there any other way to write this query? Can this be written without using `connect by`