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.
Μόνο CREATE/ALTER/DROP — δεν χρειάζεται τελικό SELECT.
Συνδεθείτε για να δείτε το ιστορικό υποβολών
ΣύνδεσηΣυνδεθείτε για να χρησιμοποιήσετε τον AI Mentor
ΣύνδεσηΧωρίς αρχικό σχήμα
Αυτή η άσκηση ξεκινά χωρίς πίνακες — θα τους δημιουργήσετε μέσω CREATE TABLE.