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.
Solo CREATE/ALTER/DROP — no hace falta un SELECT al final.
Inicia sesión para ver tu historial de envíos
Iniciar sesiónInicia sesión para usar el AI Mentor
Iniciar sesiónSin esquema inicial
Este ejercicio no incluye tablas iniciales: tendrás que crearlas con CREATE TABLE.