I have a table that looks something like this:
| id | item | count |
| --- | ------ | ----- |
| 1 | item a | 3 |
| 2 | item b | 2 |
| 3 | item c | 4 |
How can I query the database so that 1 row is shown per count? I.e. like this:
| id | item | count |
| --- | ------ | ----- |
| 1 | item a | 3 |
| 1 | item a | 3 |
| 1 | item a | 3 |
| 2 | item b | 2 |
| 2 | item b | 2 |
| 3 | item c | 4 |
| 3 | item c | 4 |
| 3 | item c | 4 |
| 3 | item c | 4 |
In case it helps, I've created a DB fiddle: https://www.db-fiddle.com/f/wRZgBYkDM18c5fk7tgkBkA/0