Run Code  | API  | Code Wall  | Misc  | Feedback  | Login  | Theme  | Privacy  | Patreon 

SQL SERVER Procedure habitaciones libres y ocupadas: https://es.stacko...

Language: Layout:
View schema
Execution time: 0,04 sec, rows selected: 9, rows affected: 7, absolute service time: 0,18 sec 
edit mode |  history
   hotel_id hotel_nom habitaciones
1 1 ISTEA 1 17400
2 2 ISTEA 2 17400
   reserva_id hotel_id habitacion_id ocupantes fecha_entrada fecha_salida
1 1 1 65 2 01.06.2017 00:00:00 03.06.2017 00:00:00
2 2 1 23 1 01.06.2017 00:00:00 03.06.2017 00:00:00
3 3 1 90 2 01.06.2017 00:00:00 04.06.2017 00:00:00
4 4 2 40 1 01.06.2017 00:00:00 05.06.2017 00:00:00
5 5 2 86 2 01.06.2017 00:00:00 02.06.2017 00:00:00
   hotel_id hotel_nom libres ocupadas desde hasta
1 1 ISTEA 1 17397 3 06.01.2017 00:00:00 06.03.2017 00:00:00
2 2 ISTEA 2 17398 2 06.01.2017 00:00:00 06.03.2017 00:00:00

    
                
λ
.NET NoSQL database for rapid development