SlideShare a Scribd company logo
1 of 10
-527685500380PANTALLAS DEL CINE<br />-461010520700<br />-4133853376295-413385119380<br />-4895853853180-413385-4445<br />-356235-4445<br />-356235449580<br />-5657853176905-451485-4445<br />-5124453809365-283845-109220<br />DICCIONARIO DE DATOS<br />CREATE TABLE PELICULAS (<br />IDPELICULA NUMBER(5) NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />CLASIFICACION CHAR(3) NOT NULL,<br />GENERO CHAR(20) NOT NULL,<br />CONSTRAINT quot;
PK_PELICULASquot;
 PRIMARY KEY  (quot;
IDPELICULAquot;
)<br />);<br />CREATE TABLE SALAS (<br />IDSALA NUMBER (5)NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />CAPACIDAD NUMBER(4) NOT NULL,<br />IDCINE NUMBER (5),<br />CONSTRAINT quot;
PK_SALASquot;
 PRIMARY KEY  (quot;
IDSALAquot;
),<br />CONSTRAINT quot;
FK_CINEquot;
 FOREIGN KEY  (quot;
IDCINEquot;
)<br />REFERENCES CINE<br />);<br />CREATE TABLE CINE (<br />IDCINE NUMBER (5) NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />UBICACION CHAR(20) NOT NULL,<br />CIUDAD CHAR(20) NOT NULL,<br />CONSTRAINT quot;
PK_CINEquot;
 PRIMARY KEY  (quot;
IDCINEquot;
)<br />);<br />CREATE TABLE HORARIO (<br />IDHORARIO NUMBER (5) NOT NULL,<br />IDSALA NUMBER (5) NOT NULL,<br />IDPELICULA NUMBER(5) NOT NULL,<br />HORARIOPELICULA VARCHAR(5),<br />FECHA DATE,<br />CONSTRAINT quot;
PK_HORARIOquot;
 PRIMARY KEY  (quot;
IDHORARIOquot;
),<br />CONSTRAINT quot;
FK_SALAquot;
 FOREIGN KEY  (quot;
IDSALAquot;
)<br />REFERENCES SALA<br />CONSTRAINT quot;
FK_PELICULASquot;
 FOREIGN KEY  (quot;
IDPELICULAquot;
)<br />REFERENCES PELICULAS<br />);<br />PELICULAS<br />INSERT INTO PELICULAS VALUES (00001,'IRONMAN','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00002,'IRONMAN2','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00003,'TRANSPORTADOR','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00004,'TRANSPORTADOR2','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00005,'TRANSPORTADOR3','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00006,'SCARY MOVIE1','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00007,'SCARY MOVIE2','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00008,'SCARY MOVIE3','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00009,'SCARY MOVIE4','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00011,'SHREK4','A','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00012,'NOTEBOOK','A','ROMANTICA');<br />INSERT INTO PELICULAS VALUES (00013,'HARRY POTTER6','A','CIENCIA FICCION');<br />INSERT INTO PELICULAS VALUES (00014,'AVATAR','A','CIENCIA FICCION');<br />*SALAS<br />AMERICAS<br />INSERT INTO SALAS VALUES (10001,'1','200','20001');<br />INSERT INTO SALAS VALUES (10002,'2','200','20001');<br />INSERT INTO SALAS VALUES (10003,'3','200','20001');<br />INSERT INTO SALAS VALUES (10004,'4','200','20001');<br />INSERT INTO SALAS VALUES (10005,'5','200','20001');<br />INSERT INTO SALAS VALUES (10006,'6','200','20001');<br />INSERT INTO SALAS VALUES (10007,'7','200','20001');<br />INSERT INTO SALAS VALUES (10008,'8','200','20001');<br />INSERT INTO SALAS VALUES (10009,'9','200','20001');<br />INSERT INTO SALAS VALUES (10010,'10','200','20001');<br />INSERT INTO SALAS VALUES (10011,'11','200','20001');<br />INSERT INTO SALAS VALUES (10012,'12','200','20001');<br />INSERT INTO SALAS VALUES (10013,'13','200','20001');<br />INSERT INTO SALAS VALUES (10014,'14','200','20001');<br />BRISAS<br />INSERT INTO SALAS VALUES (10201,'1','200','20002');<br />INSERT INTO SALAS VALUES (10202,'2','200','20002');<br />INSERT INTO SALAS VALUES (10203,'3','200','20002');<br />INSERT INTO SALAS VALUES (10204,'4','200','20002');<br />INSERT INTO SALAS VALUES (10205,'5','200','20002');<br />INSERT INTO SALAS VALUES (10206,'6','200','20002');<br />INSERT INTO SALAS VALUES (10207,'7','200','20002');<br />INSERT INTO SALAS VALUES (10208,'8','200','20002');<br />INSERT INTO SALAS VALUES (10209,'9','200','20002');<br />CINE<br />INSERT INTO CINE VALUES (20001,'CINEPOLIS AMERICAS','BOCA DEL RIO','VERACRUZ');<br />INSERT INTO CINE VALUES (20002,'CINEPOLIS BRISAS','VERACRUZ','VERACRUZ');<br />HORARIO<br />INSERT INTO HORARIO VALUES (30001,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30002,'10001','00001','1:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30003,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30004,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30005,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30006,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30007,'10001','00001','12:10','02/06/2010');<br />*CONSULTAS<br />SELECT NOMBRE,GENERO FROM PELICULAS<br />ORDER BY GENERO;<br />SELECT NOMBRE,CIUDAD FROM PELICULAS,CINE<br />WHERE SALAS.IDSALAS=CINE.IDSALAS AND <br />PELICULAS.IDPELICULA=SALAS.IDPELICULA AND<br />PELICULAS.GENERO='COMEDIA';<br />DIAGRAMA ENTIDAD – RELACION<br />
Cine
Cine
Cine
Cine
Cine
Cine
Cine
Cine
Cine

More Related Content

What's hot (9)

LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6LAMP_TRAINING_SESSION_6
LAMP_TRAINING_SESSION_6
 
BAMBOA Master catalogue
BAMBOA Master catalogueBAMBOA Master catalogue
BAMBOA Master catalogue
 
Llibres pel curs 12-13
Llibres pel curs 12-13Llibres pel curs 12-13
Llibres pel curs 12-13
 
05 di pierro
05 di pierro05 di pierro
05 di pierro
 
Creative Direction
Creative DirectionCreative Direction
Creative Direction
 
Google. Мобильная реклама сегодня
Google. Мобильная реклама сегодняGoogle. Мобильная реклама сегодня
Google. Мобильная реклама сегодня
 
Hannabi portfolio
Hannabi portfolioHannabi portfolio
Hannabi portfolio
 
Evenement Eco-responsable
Evenement Eco-responsableEvenement Eco-responsable
Evenement Eco-responsable
 
ปัจจัยที่ทำให้ระบบโรงเรียนประสบความสำเร็จ
ปัจจัยที่ทำให้ระบบโรงเรียนประสบความสำเร็จปัจจัยที่ทำให้ระบบโรงเรียนประสบความสำเร็จ
ปัจจัยที่ทำให้ระบบโรงเรียนประสบความสำเร็จ
 

Viewers also liked (8)

1er grado bloque 5 - dosificación de competencias
1er grado   bloque 5 - dosificación de competencias1er grado   bloque 5 - dosificación de competencias
1er grado bloque 5 - dosificación de competencias
 
1er grado bloque i - proyecto 3
1er grado   bloque i - proyecto 31er grado   bloque i - proyecto 3
1er grado bloque i - proyecto 3
 
Plan 1er grado bloque v matemáticas
Plan   1er grado bloque v matemáticasPlan   1er grado bloque v matemáticas
Plan 1er grado bloque v matemáticas
 
Plan 1er grado bloque v formación CyE
Plan   1er grado bloque v  formación CyEPlan   1er grado bloque v  formación CyE
Plan 1er grado bloque v formación CyE
 
Plan 1er grado bloque v educación artística
Plan   1er grado bloque v  educación artísticaPlan   1er grado bloque v  educación artística
Plan 1er grado bloque v educación artística
 
Planeación de 1er grado bloque II - educación artística
Planeación de 1er grado   bloque II - educación artísticaPlaneación de 1er grado   bloque II - educación artística
Planeación de 1er grado bloque II - educación artística
 
1er grado bloque i - proyecto 2
1er grado   bloque i - proyecto 21er grado   bloque i - proyecto 2
1er grado bloque i - proyecto 2
 
Planeación de 1er grado bloque 2 - proyecto 3
Planeación de 1er grado   bloque 2 - proyecto 3Planeación de 1er grado   bloque 2 - proyecto 3
Planeación de 1er grado bloque 2 - proyecto 3
 

Similar to Cine

Tablas, Codigos Base De Datos Excelsa
Tablas, Codigos Base De Datos ExcelsaTablas, Codigos Base De Datos Excelsa
Tablas, Codigos Base De Datos Excelsa
Héctor
 
Table Region .pdf
 Table Region  .pdf Table Region  .pdf
Table Region .pdf
ajay1317
 
Use this script for the assignment.Please follow instructions as t.docx
Use this script for the assignment.Please follow instructions as t.docxUse this script for the assignment.Please follow instructions as t.docx
Use this script for the assignment.Please follow instructions as t.docx
garnerangelika
 
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdfphp global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
anjalitimecenter11
 
Starting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docxStarting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docx
dessiechisomjj4
 
# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx
katherncarlyle
 
When debugging the code, use Drop table statementsto drop pr.docx
 When debugging the code, use Drop table statementsto drop pr.docx When debugging the code, use Drop table statementsto drop pr.docx
When debugging the code, use Drop table statementsto drop pr.docx
aryan532920
 
Database Implementation Final Document
Database Implementation Final DocumentDatabase Implementation Final Document
Database Implementation Final Document
Conor O'Callaghan
 
Zoo management adri jovin
Zoo management  adri jovinZoo management  adri jovin
Zoo management adri jovin
Adri Jovin
 
Sql
SqlSql
Sql
Joao
 
Επισκόπηση Νομοθεσίας 2009
Επισκόπηση Νομοθεσίας 2009Επισκόπηση Νομοθεσίας 2009
Επισκόπηση Νομοθεσίας 2009
itdevdamt
 
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docxDROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
jacksnathalie
 
Script de creación de la base de datos pedidos en MS Access
Script de creación de la base de datos pedidos en MS AccessScript de creación de la base de datos pedidos en MS Access
Script de creación de la base de datos pedidos en MS Access
Zantiago Thrash
 
Here is the company database--comments can be addedD.pdf
Here is the company database--comments can be addedD.pdfHere is the company database--comments can be addedD.pdf
Here is the company database--comments can be addedD.pdf
fckindswear
 

Similar to Cine (20)

Tablas, Codigos Base De Datos Excelsa
Tablas, Codigos Base De Datos ExcelsaTablas, Codigos Base De Datos Excelsa
Tablas, Codigos Base De Datos Excelsa
 
Table Region .pdf
 Table Region  .pdf Table Region  .pdf
Table Region .pdf
 
Data Citation from the perspective of tracking data reuse
Data Citation from the perspective of tracking data reuseData Citation from the perspective of tracking data reuse
Data Citation from the perspective of tracking data reuse
 
Use this script for the assignment.Please follow instructions as t.docx
Use this script for the assignment.Please follow instructions as t.docxUse this script for the assignment.Please follow instructions as t.docx
Use this script for the assignment.Please follow instructions as t.docx
 
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdfphp global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
php global $bsize,$playerToken,$myToken,$gameOver,$winArr,$rowAr.pdf
 
GCEMED2012 Rassegna stampa cartacei
GCEMED2012 Rassegna stampa cartaceiGCEMED2012 Rassegna stampa cartacei
GCEMED2012 Rassegna stampa cartacei
 
Starting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docxStarting from the database used in Project 1 (see the slightly cha.docx
Starting from the database used in Project 1 (see the slightly cha.docx
 
- Php myadmin sql dump-- version 4.0.10.7-- httpwww.php
 - Php myadmin sql dump-- version 4.0.10.7-- httpwww.php - Php myadmin sql dump-- version 4.0.10.7-- httpwww.php
- Php myadmin sql dump-- version 4.0.10.7-- httpwww.php
 
Pesq psytechnics
Pesq psytechnicsPesq psytechnics
Pesq psytechnics
 
# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx# Dump File## Database is ported from MS Access#---------.docx
# Dump File## Database is ported from MS Access#---------.docx
 
When debugging the code, use Drop table statementsto drop pr.docx
 When debugging the code, use Drop table statementsto drop pr.docx When debugging the code, use Drop table statementsto drop pr.docx
When debugging the code, use Drop table statementsto drop pr.docx
 
Database Implementation Final Document
Database Implementation Final DocumentDatabase Implementation Final Document
Database Implementation Final Document
 
Zoo management adri jovin
Zoo management  adri jovinZoo management  adri jovin
Zoo management adri jovin
 
Sql
SqlSql
Sql
 
Επισκόπηση Νομοθεσίας 2009
Επισκόπηση Νομοθεσίας 2009Επισκόπηση Νομοθεσίας 2009
Επισκόπηση Νομοθεσίας 2009
 
alongamentos
alongamentosalongamentos
alongamentos
 
Greater Nashua Chamber of Commerce Brand Standards
Greater Nashua Chamber of Commerce Brand StandardsGreater Nashua Chamber of Commerce Brand Standards
Greater Nashua Chamber of Commerce Brand Standards
 
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docxDROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
DROP TABLE ordline ;Drop TABLE OrderTBL ;DROP TABLE Customer.docx
 
Script de creación de la base de datos pedidos en MS Access
Script de creación de la base de datos pedidos en MS AccessScript de creación de la base de datos pedidos en MS Access
Script de creación de la base de datos pedidos en MS Access
 
Here is the company database--comments can be addedD.pdf
Here is the company database--comments can be addedD.pdfHere is the company database--comments can be addedD.pdf
Here is the company database--comments can be addedD.pdf
 

More from UV ADMINISTRACION (SISTEMAS)

1er grado bloque 3 - dosificación de competencias
1er grado   bloque 3 - dosificación de competencias1er grado   bloque 3 - dosificación de competencias
1er grado bloque 3 - dosificación de competencias
UV ADMINISTRACION (SISTEMAS)
 

More from UV ADMINISTRACION (SISTEMAS) (20)

Refranes
Refranes Refranes
Refranes
 
CURSO ESPAÑOL APRENDER A LEER - parte 1
CURSO ESPAÑOL APRENDER A LEER - parte 1CURSO ESPAÑOL APRENDER A LEER - parte 1
CURSO ESPAÑOL APRENDER A LEER - parte 1
 
Planeación de 1er grado bloque 2 - proyecto 2
Planeación de 1er grado   bloque 2 - proyecto 2Planeación de 1er grado   bloque 2 - proyecto 2
Planeación de 1er grado bloque 2 - proyecto 2
 
1er grado bloque 3 - proyecto 3
1er grado   bloque 3 - proyecto 31er grado   bloque 3 - proyecto 3
1er grado bloque 3 - proyecto 3
 
1er grado bloque 3 - proyecto 1
1er grado   bloque 3 - proyecto 11er grado   bloque 3 - proyecto 1
1er grado bloque 3 - proyecto 1
 
1er grado bloque 3 - educación artística
1er grado   bloque 3 - educación artística1er grado   bloque 3 - educación artística
1er grado bloque 3 - educación artística
 
1er grado bloque 3 - dosificación de competencias
1er grado   bloque 3 - dosificación de competencias1er grado   bloque 3 - dosificación de competencias
1er grado bloque 3 - dosificación de competencias
 
CI
CICI
CI
 
Plan 1er grado bloque v exploración de la naturaleza
Plan   1er grado bloque v exploración de la naturalezaPlan   1er grado bloque v exploración de la naturaleza
Plan 1er grado bloque v exploración de la naturaleza
 
Trabajo de investigacion unidad 3 Act 1
Trabajo de investigacion unidad 3 Act 1Trabajo de investigacion unidad 3 Act 1
Trabajo de investigacion unidad 3 Act 1
 
Actividad 1 unidad 3
Actividad 1 unidad 3Actividad 1 unidad 3
Actividad 1 unidad 3
 
Actividad 2 unidad 3
Actividad 2 unidad 3Actividad 2 unidad 3
Actividad 2 unidad 3
 
Funciones dba
Funciones dbaFunciones dba
Funciones dba
 
Trabajo especial 2
Trabajo especial 2Trabajo especial 2
Trabajo especial 2
 
Unidad 2 actividad 2 bases de datos
Unidad 2 actividad 2 bases de datosUnidad 2 actividad 2 bases de datos
Unidad 2 actividad 2 bases de datos
 
Unidad 2 actividad 2 bases de datos.doc
Unidad 2 actividad 2 bases de datos.docUnidad 2 actividad 2 bases de datos.doc
Unidad 2 actividad 2 bases de datos.doc
 
Unidad 2 actividad 3 bases de datos
Unidad 2 actividad 3 bases de datosUnidad 2 actividad 3 bases de datos
Unidad 2 actividad 3 bases de datos
 
Unidad 2 actividad 3 bases de datos
Unidad 2 actividad 3 bases de datosUnidad 2 actividad 3 bases de datos
Unidad 2 actividad 3 bases de datos
 
Unidad 2 actividad 1 bases de datos
Unidad 2 actividad 1 bases de datosUnidad 2 actividad 1 bases de datos
Unidad 2 actividad 1 bases de datos
 
Unidad 2 actividad 1 bases de datos
Unidad 2 actividad 1 bases de datosUnidad 2 actividad 1 bases de datos
Unidad 2 actividad 1 bases de datos
 

Recently uploaded

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Recently uploaded (20)

Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

Cine

  • 1. -527685500380PANTALLAS DEL CINE<br />-461010520700<br />-4133853376295-413385119380<br />-4895853853180-413385-4445<br />-356235-4445<br />-356235449580<br />-5657853176905-451485-4445<br />-5124453809365-283845-109220<br />DICCIONARIO DE DATOS<br />CREATE TABLE PELICULAS (<br />IDPELICULA NUMBER(5) NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />CLASIFICACION CHAR(3) NOT NULL,<br />GENERO CHAR(20) NOT NULL,<br />CONSTRAINT quot; PK_PELICULASquot; PRIMARY KEY (quot; IDPELICULAquot; )<br />);<br />CREATE TABLE SALAS (<br />IDSALA NUMBER (5)NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />CAPACIDAD NUMBER(4) NOT NULL,<br />IDCINE NUMBER (5),<br />CONSTRAINT quot; PK_SALASquot; PRIMARY KEY (quot; IDSALAquot; ),<br />CONSTRAINT quot; FK_CINEquot; FOREIGN KEY (quot; IDCINEquot; )<br />REFERENCES CINE<br />);<br />CREATE TABLE CINE (<br />IDCINE NUMBER (5) NOT NULL,<br />NOMBRE CHAR(20) NOT NULL,<br />UBICACION CHAR(20) NOT NULL,<br />CIUDAD CHAR(20) NOT NULL,<br />CONSTRAINT quot; PK_CINEquot; PRIMARY KEY (quot; IDCINEquot; )<br />);<br />CREATE TABLE HORARIO (<br />IDHORARIO NUMBER (5) NOT NULL,<br />IDSALA NUMBER (5) NOT NULL,<br />IDPELICULA NUMBER(5) NOT NULL,<br />HORARIOPELICULA VARCHAR(5),<br />FECHA DATE,<br />CONSTRAINT quot; PK_HORARIOquot; PRIMARY KEY (quot; IDHORARIOquot; ),<br />CONSTRAINT quot; FK_SALAquot; FOREIGN KEY (quot; IDSALAquot; )<br />REFERENCES SALA<br />CONSTRAINT quot; FK_PELICULASquot; FOREIGN KEY (quot; IDPELICULAquot; )<br />REFERENCES PELICULAS<br />);<br />PELICULAS<br />INSERT INTO PELICULAS VALUES (00001,'IRONMAN','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00002,'IRONMAN2','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00003,'TRANSPORTADOR','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00004,'TRANSPORTADOR2','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00005,'TRANSPORTADOR3','B','ACCION');<br />INSERT INTO PELICULAS VALUES (00006,'SCARY MOVIE1','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00007,'SCARY MOVIE2','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00008,'SCARY MOVIE3','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00009,'SCARY MOVIE4','B15','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00011,'SHREK4','A','COMEDIA');<br />INSERT INTO PELICULAS VALUES (00012,'NOTEBOOK','A','ROMANTICA');<br />INSERT INTO PELICULAS VALUES (00013,'HARRY POTTER6','A','CIENCIA FICCION');<br />INSERT INTO PELICULAS VALUES (00014,'AVATAR','A','CIENCIA FICCION');<br />*SALAS<br />AMERICAS<br />INSERT INTO SALAS VALUES (10001,'1','200','20001');<br />INSERT INTO SALAS VALUES (10002,'2','200','20001');<br />INSERT INTO SALAS VALUES (10003,'3','200','20001');<br />INSERT INTO SALAS VALUES (10004,'4','200','20001');<br />INSERT INTO SALAS VALUES (10005,'5','200','20001');<br />INSERT INTO SALAS VALUES (10006,'6','200','20001');<br />INSERT INTO SALAS VALUES (10007,'7','200','20001');<br />INSERT INTO SALAS VALUES (10008,'8','200','20001');<br />INSERT INTO SALAS VALUES (10009,'9','200','20001');<br />INSERT INTO SALAS VALUES (10010,'10','200','20001');<br />INSERT INTO SALAS VALUES (10011,'11','200','20001');<br />INSERT INTO SALAS VALUES (10012,'12','200','20001');<br />INSERT INTO SALAS VALUES (10013,'13','200','20001');<br />INSERT INTO SALAS VALUES (10014,'14','200','20001');<br />BRISAS<br />INSERT INTO SALAS VALUES (10201,'1','200','20002');<br />INSERT INTO SALAS VALUES (10202,'2','200','20002');<br />INSERT INTO SALAS VALUES (10203,'3','200','20002');<br />INSERT INTO SALAS VALUES (10204,'4','200','20002');<br />INSERT INTO SALAS VALUES (10205,'5','200','20002');<br />INSERT INTO SALAS VALUES (10206,'6','200','20002');<br />INSERT INTO SALAS VALUES (10207,'7','200','20002');<br />INSERT INTO SALAS VALUES (10208,'8','200','20002');<br />INSERT INTO SALAS VALUES (10209,'9','200','20002');<br />CINE<br />INSERT INTO CINE VALUES (20001,'CINEPOLIS AMERICAS','BOCA DEL RIO','VERACRUZ');<br />INSERT INTO CINE VALUES (20002,'CINEPOLIS BRISAS','VERACRUZ','VERACRUZ');<br />HORARIO<br />INSERT INTO HORARIO VALUES (30001,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30002,'10001','00001','1:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30003,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30004,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30005,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30006,'10001','00001','12:10','02/06/2010');<br />INSERT INTO HORARIO VALUES (30007,'10001','00001','12:10','02/06/2010');<br />*CONSULTAS<br />SELECT NOMBRE,GENERO FROM PELICULAS<br />ORDER BY GENERO;<br />SELECT NOMBRE,CIUDAD FROM PELICULAS,CINE<br />WHERE SALAS.IDSALAS=CINE.IDSALAS AND <br />PELICULAS.IDPELICULA=SALAS.IDPELICULA AND<br />PELICULAS.GENERO='COMEDIA';<br />DIAGRAMA ENTIDAD – RELACION<br />