Input table

```
Col
1
2
2
3
3
4
5

```

Output

```
1
2
2
2
2
3
3
3
3
3
3
4
4
4
4
5
5
5
5
5

```

Is there any way this could be achieved in sql with and without writing any function ? Please take a note that, column can have duplicate values.