Bookings with a valid date range
Design a bookings table with start and end days: start_day and end_day are integers and required. The database must guarantee the end day is not before the start day. Columns: id — primary key; start_day; end_day.
Tylko CREATE/ALTER/DROP — bez końcowego SELECT.
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj sięBrak schematu początkowego
To zadanie zaczyna się bez tabel — utworzysz je za pomocą CREATE TABLE.