By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
| version |
|---|
| PostgreSQL 10.12 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20190507 (Red Hat 8.3.1-4), 64-bit |
6 rows affected
| hotelid | timestampofbooking | numberofguests |
|---|---|---|
| 11 | 2021-11-22 | 2 |
| 34 | 2021-11-23 | 2 |
| 30 | 2021-11-23 | 5 |
| 19 | 2021-11-24 | 7 |
| 8 | 2021-11-25 | 12 |
| 34 | 2021-11-25 | 5 |
| timestampofbooking | total_beds |
|---|---|
| 2021-11-23 | 7 |
| 2021-11-24 | 7 |
| timestampofbooking | total_beds |
|---|---|
| 2021-11-23 | 7 |
| 2021-11-24 | 7 |