add remove split language show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version
PostgreSQL 9.5.25 on x86_64-pc-linux-musl, compiled by gcc (Alpine 11.2.1_git20220219) 11.2.1 20220219, 64-bit
SELECT 1
COMMIT
CREATE VIEW
CREATE VIEW
from_date to_date type rate cityno roomno
2022-10-03 2022-10-04 ALL 10.00 5001 0
2022-10-05 2022-10-10 ALL 101.00 5001 0
2022-10-10 2022-10-10 ALL 101.00 5001 10000001
2022-10-11 2022-10-15 ALL 10.00 5001 0
2022-10-11 2022-10-12 ALL 12.00 5001 10000001
SELECT 5