Está en la página 1de 50

Instituto Tecnológico de Oaxaca

Ingeniería en Sistemas Computacionales.

Asignación de motores de almacenamiento en MySQL


y PostgreSQL

Alumno: Bravo González Lenin Osmar

Horario: 11:00-12:00 hrs.


Fecha de entrega: 03 de abril del 2023.

Catedrático: Valverde Jarquin Reyna

Semestre y grupo: 4 “SB”

Oaxaca de Juárez, Oax; a 03 de abril del 2023

1
Contenido
Asignación de motores de almacenamiento en MySQL y PostgreSQL .............................................. 1
¿Cómo elegir un motor de almacenamiento? ................................................................................ 4
Motores de almacenamiento de MySQL ........................................................................................ 4
MyISAM ....................................................................................................................................... 5
InnoDB ......................................................................................................................................... 5
Memory ....................................................................................................................................... 5
NDB Cluster: ................................................................................................................................ 5
CSV: ............................................................................................................................................. 5
Selección del motor para MySQL .................................................................................................... 6
Motores de almacenamiento para PostgreSQL .............................................................................. 7
Heap: ........................................................................................................................................... 7
Selección de motor para PostgreSQL .............................................................................................. 8
SCRIPTS DE LAS BASES DE DATOS ................................................................................................... 9
DB1 .............................................................................................................................................. 9
DB2 ............................................................................................................................................ 27
DB3 ............................................................................................................................................ 40
Codigo de Etica .................................................................................................................................. 49
Conclusiones ..................................................................................................................................... 50
Referencias ........................................................................................................................................ 50

2
Introducción
El siguiente documento pretende mostrar los diferentes motores de almacenamiento
que están disponibles en MySQL y PostgreSQL, además de explicar la importancia
que tiene asignar un motor de almacenamiento adecuado para nuestras bases,
tomando en cuenta su naturaleza y tamaño, buscando siempre evitar gastar la
mayor cantidad de recursos y así evitar que afecte en el rendimiento de nuestra
base de datos a medida que vaya creciendo en su capacidad, además, se muestran
los diagramas entidad relación de todas las bases de datos que se están utilizando
para las prácticas, con el fin de que se pueda entender la manera en que están
estructuradas las bases de datos y podamos hacer una pequeña simulación de la
naturaleza de las mismas.

3
Desarrollo
¿Cómo elegir un motor de almacenamiento?

Para poder determinar qué motor de almacenamiento asignar a nuestras tablas,


deberemos realizar una investigación previa para poder analizar y así determinar el
que mejor se ajuste a nuestra base de datos, consideraremos el tamaño de cada
base y las especificaciones de cada motor, para evitar desperdiciar recursos, para
ello se ha realizado una investigación de todos los motores que soporta cada
sistema gestor de bases de datos, en primera instancia hablaremos de los motores
de MySQL y posteriormente mencionaremos a los motores de PostgrSQL.

Motores de almacenamiento de MySQL

Para poder determinar qué motor de almacenamiento elegiremos tenderemos que


ver las bases de datos que tenemos a nuestra disposición, en este caso contamos
con 3 bases de datos diferentes, las cuales tienen los nombres, “DB1”, “DB2”, “DB3”,
en donde las bases cuentan con 1000 registros, 500 y 500 registros
respectivamente, su diagrama E-R se estructura de la siguiente manera:
DB1:

DB2:

4
DB3:

Evidentemente la primera base de datos es la que contiene muchas más tablas y


más registros, sin embargo, para una base de datos, esta cantidad de registros no
significan un gran problema para realizar las operaciones, por lo que debemos
realizar un análisis de los motores para determinar el que mejor se adapte.
MyISAM: es el motor de almacenamiento predeterminado en MySQL hasta la versión
5.5. MyISAM es un motor muy rápido y eficiente en términos de espacio en disco y
velocidad de lectura, pero no es adecuado para aplicaciones que requieren muchas
escrituras concurrentes.
InnoDB: es el motor de almacenamiento predeterminado en MySQL desde la versión
5.5. InnoDB es un motor transaccional con soporte para transacciones ACID y
bloqueo a nivel de fila, lo que lo hace ideal para aplicaciones que requieren alta
concurrencia y consistencia de datos. InnoDB también admite la recuperación
automática de fallas, la compresión de datos y el uso de índices.
Memory: como su nombre lo indica, este motor almacena los datos en memoria
RAM, lo que lo convierte en uno de los más rápidos en términos de velocidad de
lectura y escritura. Sin embargo, dado que los datos se almacenan en memoria, no
es adecuado para aplicaciones que requieren almacenamiento persistente de datos.
NDB Cluster: es un motor de almacenamiento en memoria que se utiliza para la
creación de clústeres de alta disponibilidad. NDB Cluster utiliza una arquitectura
distribuida y tolerante a fallos para proporcionar alta disponibilidad, escalabilidad y
rendimiento en aplicaciones que requieren lecturas y escrituras de alta velocidad en
un entorno de clúster.
CSV: como su nombre lo indica, este motor almacena los datos en formato CSV
(valores separados por comas), lo que lo hace adecuado para la importación y

5
exportación de grandes cantidades de datos en aplicaciones que no requieren
transacciones.

Selección del motor para MySQL

En base al análisis de los motores y teniendo en cuenta la naturaleza de las bases


de datos, no pudimos dar cuenta de 2 factores, el primero es que todas las bases
de datos requieres de una de una alta concurrencia, en el caso de que las bases de
datos estuvieras en funcionamiento constante, por lo que es el primer factor a
considerar para poder asignar un motor de almacenamiento.
El segundo factor a considerar es el tamaño de las bases de datos, en los tres casos,
las bases no tienen un tamaño excesivo en el sentido de los registros que
almacenan cada una de las bases, si tuviéramos una cifra un poco más razonable
como, por ejemplo, 10,000 registros, tomaríamos a consideración esa cantidad para
elegir un motor diferente, pero como se trata de una base relativamente pequeña,
usaremos un motor que no requiera de muchos recursos.
Por tanto, tomando en cuenta los dos puntos previos y la explicación del por qué
elegiremos un motor, nos decidimos por el motor de almacenamiento InnoDB, ya
que este también nos brinda la opción de recuperación automática y uso de índices.
Para crear una tabla usaremos la siguiente instrucción:
CREATE TABLE Categoria (id_categoria int NOT NULL, descripcion varchar(50)
DEFAULT NULL, PRIMARY KEY (id_categoria));
Para poder utilizar el motor InnoDB, debemos utilizar la instrucción la instrucción
“Engine” seguido del motor que vamos a establecer.

6
Motores de almacenamiento para PostgreSQL

Para las bases de datos de PostgreSQL utilizamos las mismas bases de datos de
MySQL, para ellos realizamos un export de las bases y las importamos en
PostgreSQL, por lo que mantenemos la misma cantidad de registros y la estructura
de las tablas, por lo que básicamente, utilizaremos los mimos factores a considerar
para establecer el motor de almacenamiento para las tablas de nuestras bases.

Heap: El motor de almacenamiento de Heap es el predeterminado en PostgreSQL.


En este motor, los datos se almacenan sin orden alguno en las páginas del disco.
No se utilizan índices, por lo que las consultas son lentas y requieren un análisis
exhaustivo de los datos.
B-tree: El motor de almacenamiento de B-tree se utiliza para crear índices en
PostgreSQL. Los índices de B-tree ordenan los datos en páginas de disco para
acelerar las búsquedas y las consultas. Este motor es ideal para conjuntos de datos
que cambian con frecuencia y para consultas que buscan datos específicos en la
base de datos.
Hash: El motor de almacenamiento de Hash se utiliza para crear índices hash en
PostgreSQL. Los índices de Hash son similares a los índices de B-tree, pero utilizan
una función hash para asignar los datos a las páginas de disco. Este motor es ideal
para búsquedas rápidas de datos en grandes conjuntos de datos.
GiST: El motor de almacenamiento de GiST (Generalized Search Tree) se utiliza para
crear índices multidimensionales en PostgreSQL. Este motor es ideal para
conjuntos de datos que contienen datos espaciales o que requieren consultas
complejas de texto.
SP-GiST: El motor de almacenamiento de SP-GiST (Space-Partitioned Generalized
Search Tree) es una variante del motor GiST que se utiliza para consultas de datos
espaciales. Este motor es ideal para conjuntos de datos que contienen datos
geoespaciales o que requieren consultas complejas de texto.
GIN: El motor de almacenamiento de GIN (Generalized Inverted Index) se utiliza para
crear índices de texto completo en PostgreSQL. Este motor es ideal para consultas
que buscan coincidencias de texto en grandes conjuntos de datos.
BRIN: El motor de almacenamiento de BRIN (Block Range INdexing) se utiliza para
la indexación de grandes conjuntos de datos. Este motor divide los datos en bloques
y crea un índice que indica el rango de valores en cada bloque. Este motor es ideal
para conjuntos de datos que se dividen en bloques y que cambian con frecuencia.

7
Selección de motor para PostgreSQL

En base al tamaño que tienen nuestras bases y la naturaleza de las mismas,


decidimos que el motor más adecuado para las bases de datos es Heap, dado a
que es el más adecuado para datos pequeños, pero a medida que vaya creciendo
nuestra base de datos deberemos migrar a otro motor, quizá uno como B-tree o
Hash, para que las consultas sean más rápidas.
Para crear una tabla usaremos la siguiente instrucción:
CREATE TABLE Categoria (id_categoria int NOT NULL, descripcion varchar(50)
DEFAULT NULL, PRIMARY KEY (id_categoria));
Dado que Heap es el motor de almacenamiento predeterminado de PostrgreSQL,
no necesitamos realizar ninguna otra modificación, salvo que queremos asignar otro
motor como pudiera ser el caso de Hash, tendríamos que declarar el factor de carga
y una expresión que genera un hash único para cada fila, de este modo estaríamos
utilizando un motor de almacenamiento hash.

8
SCRIPTS DE LAS BASES DE DATOS
DB1
-- MySQL dump 10.13 Distrib 8.0.32, for Linux (x86_64)

--

-- Host: localhost Database: DB2

-- ------------------------------------------------------

-- Server version 8.0.32-0ubuntu0.20.04.2

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;

/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;

/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

/*!50503 SET NAMES utf8mb4 */;

/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;

/*!40103 SET TIME_ZONE='+00:00' */;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;

/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,


FOREIGN_KEY_CHECKS=0 */;

/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--

-- Table structure for table `Categoria`

--

DROP TABLE IF EXISTS `Categoria`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Categoria` (

`id_categoria` int NOT NULL,

`descripcion` varchar(50) DEFAULT NULL,

9
PRIMARY KEY (`id_categoria`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Categoria`

--

LOCK TABLES `Categoria` WRITE;

/*!40000 ALTER TABLE `Categoria` DISABLE KEYS */;

INSERT INTO `Categoria` VALUES (1,'Business Services'),(2,'EDP Services'),(3,'Forest


Products'),(4,'Major Pharmaceuticals'),(5,'Real Estate Investment Trusts'),(6,'n/a'),(8,'Finance:
Consumer Services'),(9,'Homebuilding'),(10,'Other Specialty Stores'),(11,'n/a'),(12,'Oil & Gas
Production'),(13,'Major Banks'),(14,'Computer Software: Programming, Data
Processing'),(15,'Homebuilding'),(16,'n/a'),(17,'n/a'),(18,'Business
Services'),(19,'n/a'),(20,'n/a'),(21,'n/a'),(22,'Oil & Gas Production'),(23,'Specialty
Chemicals'),(25,'n/a'),(26,'Real Estate'),(28,'Property-Casualty Insurers'),(29,'Specialty
Foods'),(30,'Other Specialty Stores'),(31,'Textiles'),(32,'Computer Software: Prepackaged
Software'),(33,'n/a'),(34,'Major Pharmaceuticals'),(35,'Marine
Transportation'),(36,'Homebuilding'),(37,'Agricultural Chemicals'),(38,'Major Banks'),(39,'Metal
Fabrications'),(40,'Integrated oil Companies'),(41,'Telecommunications
Equipment'),(42,'Investment Managers'),(43,'Medical Specialities'),(44,'Major Banks'),(45,'EDP
Services'),(46,'Major Chemicals'),(47,'Multi-Sector Companies'),(48,'Oil & Gas
Production'),(49,'Real Estate Investment Trusts'),(50,'Major Pharmaceuticals'),(51,'Real Estate
Investment Trusts'),(53,'Advertising'),(55,'Hospital/Nursing Management'),(56,'Computer
peripheral equipment'),(57,'Real Estate Investment Trusts'),(58,'Major
Pharmaceuticals'),(59,'Metal Fabrications'),(60,'Medical/Dental Instruments'),(61,'Computer
Software: Prepackaged Software'),(63,'Steel/Iron Ore'),(64,'Other Specialty
Stores'),(65,'n/a'),(66,'Finance: Consumer Services'),(67,'Oil Refining/Marketing'),(68,'Oil & Gas
Production'),(69,'Homebuilding'),(70,'Electric Utilities: Central'),(71,'Office
Equipment/Supplies/Services'),(72,'Major Pharmaceuticals'),(74,'EDP
Services'),(75,'Restaurants'),(76,'Semiconductors'),(77,'Investment
Managers'),(78,'n/a'),(79,'Major Banks'),(80,'Paper'),(81,'Finance: Consumer Services'),(82,'Real
Estate Investment Trusts'),(83,'EDP Services'),(84,'n/a'),(85,'Shoe Manufacturing'),(86,'Home
Furnishings'),(87,'n/a'),(88,'Industrial Machinery/Components'),(89,'Medical/Dental
Instruments'),(90,'Precious Metals'),(91,'Major
Banks'),(92,'n/a'),(93,'n/a'),(94,'Textiles'),(95,'Industrial
Specialties'),(96,'n/a'),(97,'n/a'),(98,'n/a'),(99,'Business Services'),(100,'n/a');

10
/*!40000 ALTER TABLE `Categoria` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Cliente`

--

DROP TABLE IF EXISTS `Cliente`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Cliente` (

`id_cliente` int NOT NULL,

`nombre` varchar(50) DEFAULT NULL,

`telefono` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id_cliente`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Cliente`

--

LOCK TABLES `Cliente` WRITE;

/*!40000 ALTER TABLE `Cliente` DISABLE KEYS */;

INSERT INTO `Cliente` VALUES (1,'Raffarty','119-699-8807'),(2,'Devin','741-256-


5852'),(3,'Kathrine','879-679-4192'),(4,'Ely','580-138-9977'),(5,'Calypso','425-283-
0412'),(6,'Henry','537-973-1285'),(7,'Merry','134-773-2412'),(8,'Lyndsay','927-175-
1515'),(9,'Iolanthe','297-552-1947'),(10,'Aila','351-682-2949'),(11,'Dolf','439-679-
0542'),(12,'Helena','690-285-8628'),(13,'Max','299-931-7101'),(14,'Nicky','464-413-
3174'),(15,'Bethena','370-512-7416'),(16,'Nadine','831-971-9484'),(17,'Jeralee','335-961-
4895'),(18,'Waverly','923-334-3983'),(19,'Marice','461-539-6588'),(20,'Ernst','299-714-

11
7727'),(21,'Austin','438-366-2450'),(22,'Reeba','728-677-6675'),(23,'Fransisco','246-991-
5199'),(24,'Garold','283-721-8249'),(25,'Mayer','252-665-8505'),(26,'Anya','171-252-
9588'),(27,'Parrnell','328-722-3963'),(28,'Jaclin','573-823-9739'),(29,'Fitzgerald','854-791-
1875'),(30,'Bellina','201-219-9605'),(31,'Kyla','403-652-2905'),(32,'Kelley','809-899-
1946'),(33,'Katine','879-161-7194'),(34,'Leonie','418-763-0210'),(35,'Malinda','301-708-
6703'),(36,'Tallulah','540-528-8168'),(37,'Dallis','371-772-0734'),(38,'Kacy','589-929-
7493'),(39,'Ansell','105-895-5540'),(40,'Sollie','646-197-3046'),(41,'Dora','581-430-
2052'),(42,'Delainey','373-896-4477'),(43,'Barris','239-998-3137'),(44,'Jorgan','337-732-
3555'),(45,'Roseanna','929-699-5464'),(46,'Nananne','976-234-2943'),(47,'Billie','452-283-
7099'),(48,'Arlee','780-961-8489'),(49,'Iosep','312-458-8423'),(50,'Adan','867-186-
9888'),(51,'Jaynell','121-707-5609'),(52,'Calley','495-290-5510'),(53,'Eula','465-138-
6516'),(54,'Kattie','596-113-5880'),(55,'Gayleen','461-936-6394'),(56,'Laurent','501-910-
3297'),(57,'Tanitansy','181-576-6538'),(58,'Roselle','110-362-6527'),(59,'Alick','523-382-
8074'),(60,'Urson','833-820-2300'),(61,'Paulie','977-267-7555'),(62,'Giulia','275-370-
5411'),(63,'Latrina','978-229-5373'),(64,'Phillida','475-718-7067'),(67,'Laurene','580-348-
8921'),(68,'Kip','942-941-8348'),(69,'Kissiah','450-350-7415'),(70,'Clarence','911-770-
7293'),(71,'Doria','279-615-1740'),(72,'Peri','10332'),(73,'Gallard','589-330-
6998'),(74,'Delainey','402-293-1719'),(76,'Franzen','152-441-1989'),(77,'Bucky','305-413-
4761'),(78,'Jeth','870-716-2161'),(79,'Eden','630-760-4336'),(80,'Yurik','910-819-
6258'),(81,'Dael','869-168-7323'),(82,'Myrvyn','615-730-1044'),(83,'Minnie','794-644-
9662'),(84,'Llewellyn','630-850-9696'),(85,'Gwyneth','854-798-8974'),(86,'Rosabelle','506-136-
7323'),(87,'Jacqueline','529-602-4433'),(88,'Farris','766-689-4288'),(91,'Almeta','332-145-
0928'),(92,'Sherman','513-655-6984'),(94,'Deedee','628-728-6707'),(95,'Montgomery','118-184-
4483'),(96,'Saloma','362-279-2548'),(97,'Grissel','379-472-2484'),(98,'Maddy','489-560-
8933'),(99,'Skipton','968-461-4877'),(100,'Bud','277-533-9564');

/*!40000 ALTER TABLE `Cliente` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Facturas`

--

DROP TABLE IF EXISTS `Facturas`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Facturas` (

`id_factura` int NOT NULL,

12
`fecha` date DEFAULT NULL,

`id_cliente` int DEFAULT NULL,

PRIMARY KEY (`id_factura`),

KEY `id_cliente` (`id_cliente`),

CONSTRAINT `Facturas_ibfk_1` FOREIGN KEY (`id_cliente`) REFERENCES `Cliente` (`id_cliente`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Facturas`

--

LOCK TABLES `Facturas` WRITE;

/*!40000 ALTER TABLE `Facturas` DISABLE KEYS */;

INSERT INTO `Facturas` VALUES (1,'2022-09-09',NULL),(2,'2023-01-05',NULL),(3,'2022-12-


20',NULL),(4,'2022-06-09',NULL),(5,'2022-07-02',NULL),(6,'2022-12-09',NULL),(7,'2022-08-
13',NULL),(8,'2022-07-05',NULL),(9,'2023-01-06',NULL),(10,'2022-09-07',NULL),(11,'2022-10-
23',NULL),(12,'2023-02-04',NULL),(13,'2022-08-31',NULL),(14,'2022-07-20',NULL),(15,'2022-03-
24',NULL),(16,'2022-03-29',NULL),(17,'2022-08-21',NULL),(18,'2022-07-01',NULL),(19,'2022-08-
25',NULL),(20,'2022-12-26',NULL),(21,'2023-03-13',NULL),(22,'2022-12-11',NULL),(23,'2022-05-
10',NULL),(24,'2022-10-14',NULL),(25,'2022-11-20',NULL),(26,'2022-05-03',NULL),(27,'2022-12-
23',NULL),(28,'2022-06-07',NULL),(29,'2022-07-13',NULL),(30,'2022-08-06',NULL),(31,'2022-08-
31',NULL),(32,'2022-10-22',NULL),(33,'2022-05-31',NULL),(34,'2022-04-12',NULL),(35,'2022-10-
10',NULL),(36,'2022-10-19',NULL),(37,'2022-11-13',NULL),(38,'2023-03-07',NULL),(39,'2022-04-
15',NULL),(40,'2022-09-12',NULL),(41,'2022-06-26',NULL),(42,'2022-10-26',NULL),(43,'2023-02-
13',NULL),(44,'2022-06-02',NULL),(45,'2022-03-31',NULL),(46,'2022-06-30',NULL),(47,'2023-01-
04',NULL),(48,'2023-01-20',NULL),(49,'2023-01-29',NULL),(50,'2022-06-02',NULL),(51,'2022-10-
15',NULL),(52,'2022-12-24',NULL),(53,'2022-05-31',NULL),(54,'2023-03-12',NULL),(55,'2022-09-
04',NULL),(56,'2022-08-03',NULL),(57,'2023-02-21',NULL),(58,'2022-06-16',NULL),(59,'2022-12-
14',NULL),(60,'2023-02-06',NULL),(61,'2022-05-22',NULL),(62,'2022-08-16',NULL),(64,'2022-12-
04',NULL),(65,'2022-05-12',NULL),(66,'2022-03-25',NULL),(67,'2022-03-18',NULL),(68,'2022-12-
28',NULL),(69,'2022-07-12',NULL),(70,'2022-09-24',NULL),(71,'2022-06-11',NULL),(72,'2023-03-
02',NULL),(73,'2022-05-15',NULL),(74,'2022-07-16',NULL),(75,'2022-08-25',NULL),(76,'2022-04-
09',NULL),(77,'2022-10-21',NULL),(78,'2022-05-17',NULL),(79,'2022-10-08',NULL),(80,'2022-07-
23',NULL),(81,'2022-09-14',NULL),(82,'2022-05-15',NULL),(83,'2023-01-27',NULL),(84,'2023-01-
14',NULL),(85,'2023-03-06',NULL),(86,'2022-10-12',NULL),(87,'2022-08-25',NULL),(88,'2022-09-
11',NULL),(89,'2022-11-01',NULL),(90,'2023-01-09',NULL),(91,'2022-08-29',NULL),(92,'2022-03-

13
27',NULL),(93,'2022-04-02',NULL),(94,'2023-03-11',NULL),(95,'2022-04-16',NULL),(96,'2022-06-
21',NULL),(97,'2022-09-01',NULL),(98,'2022-05-17',NULL),(99,'2022-06-17',NULL),(100,'2022-07-
24',NULL);

/*!40000 ALTER TABLE `Facturas` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Productos`

--

DROP TABLE IF EXISTS `Productos`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Productos` (

`id` int NOT NULL,

`nombre` varchar(50) DEFAULT NULL,

`Precio` varchar(50) DEFAULT NULL,

`seccion` varchar(50) DEFAULT NULL,

`id_categoria` int DEFAULT NULL,

`id_proveedor` int DEFAULT NULL,

PRIMARY KEY (`id`),

KEY `id_categoria` (`id_categoria`),

KEY `id_proveedor` (`id_proveedor`),

CONSTRAINT `Productos_ibfk_1` FOREIGN KEY (`id_categoria`) REFERENCES `Categoria`


(`id_categoria`),

CONSTRAINT `Productos_ibfk_2` FOREIGN KEY (`id_proveedor`) REFERENCES `Proveedores`


(`id_proveedores`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

14
--

-- Dumping data for table `Productos`

--

LOCK TABLES `Productos` WRITE;

/*!40000 ALTER TABLE `Productos` DISABLE KEYS */;

INSERT INTO `Productos` VALUES (1,'Sambuca - Ramazzotti','$6.46','Garden',NULL,NULL),(2,'Wine -


Lamancha Do Crianza','$7.18','Garden',NULL,NULL),(3,'Capers - Ox Eye
Daisy','$35.40','Clothing',NULL,NULL),(4,'Foil - Round Foil','$4.29','Grocery',NULL,NULL),(5,'Soup -
Campbells, Classic Chix','$21.81','Toys',NULL,NULL),(6,'Tart Shells - Savory,
3','$14.67','Grocery',NULL,NULL),(7,'Langers - Mango Nectar','$23.32','Books',NULL,NULL),(8,'Beef
- Tongue, Fresh','$2.32','Music',NULL,NULL),(9,'Sole - Iqf','$36.83','Shoes',NULL,NULL),(10,'Godiva
White Chocolate','$10.72','Electronics',NULL,NULL),(11,'Pasta - Linguini,
Dry','$20.63','Electronics',NULL,NULL),(12,'Rum - Mount Gay
Eclipes','$4.44','Sports',NULL,NULL),(13,'Chips - Doritos','$18.63','Games',NULL,NULL),(14,'Vector
Energy Bar','$46.45','Movies',NULL,NULL),(15,'Cookies - Englishbay
Chochip','$33.78','Electronics',NULL,NULL),(16,'Bread - Pumpernickle,
Rounds','$13.43','Music',NULL,NULL),(17,'Beef Dry Aged Tenderloin
Aaa','$6.98','Computers',NULL,NULL),(18,'Chips - Doritos','$24.31','Movies',NULL,NULL),(19,'Bar -
Sweet And Salty Chocolate','$44.13','Home',NULL,NULL),(20,'Chilli Paste, Ginger
Garlic','$42.73','Garden',NULL,NULL),(21,'Wooden Mop
Handle','$3.28','Games',NULL,NULL),(22,'Beets','$3.66','Sports',NULL,NULL),(23,'Sprouts -
Onion','$2.52','Beauty',NULL,NULL),(24,'Water - Aquafina
Vitamin','$9.57','Music',NULL,NULL),(25,'Arizona - Green
Tea','$27.30','Clothing',NULL,NULL),(26,'Pur Source','$7.57','Garden',NULL,NULL),(27,'Lemon
Grass','$27.76','Games',NULL,NULL),(28,'Puree - Pear','$15.87','Baby',NULL,NULL),(29,'Crab - Blue,
Frozen','$45.62','Health',NULL,NULL),(30,'Lemon Balm -
Fresh','$42.21','Clothing',NULL,NULL),(31,'Pepper - Red, Finger
Hot','$0.29','Electronics',NULL,NULL),(32,'Tomatoes Tear Drop
Yellow','$17.68','Grocery',NULL,NULL),(33,'Poppy Seed','$34.61','Music',NULL,NULL),(34,'Juice -
Cranberry, 341 Ml','$2.42','Automotive',NULL,NULL),(35,'Carbonated Water -
Cherry','$8.84','Sports',NULL,NULL),(36,'Catfish -
Fillets','$34.51','Games',NULL,NULL),(37,'Chestnuts -
Whole,canned','$7.38','Shoes',NULL,NULL),(38,'Pasta - Elbows, Macaroni,
Dry','$18.25','Clothing',NULL,NULL),(39,'Wine - Vovray Sec Domaine
Huet','$15.69','Industrial',NULL,NULL),(40,'Fish - Bones','$0.19','Garden',NULL,NULL),(41,'Flour -
Masa De Harina Mexican','$47.55','Music',NULL,NULL),(42,'Red Currant
Jelly','$16.80','Grocery',NULL,NULL),(43,'Bar Energy
Chocchip','$17.97','Home',NULL,NULL),(46,'Cream -
18%','$32.74','Outdoors',NULL,NULL),(47,'Marzipan
50/50','$10.32','Clothing',NULL,NULL),(48,'Cheese - Brie','$23.75','Clothing',NULL,NULL),(49,'Pork -

15
Ham, Virginia','$1.17','Computers',NULL,NULL),(50,'Lid - 0090
Clear','$49.88','Kids',NULL,NULL),(51,'Beans - Black Bean,
Canned','$36.01','Toys',NULL,NULL),(52,'Vodka - Smirnoff','$37.08','Jewelry',NULL,NULL),(53,'Wine
- Spumante Bambino White','$40.33','Tools',NULL,NULL),(54,'Chicken -
Base','$24.12','Movies',NULL,NULL),(55,'Beer - Sleemans Cream
Ale','$27.58','Games',NULL,NULL),(56,'Soup - Campbells
Broccoli','$34.92','Outdoors',NULL,NULL),(57,'Table Cloth 62x120
White','$2.68','Computers',NULL,NULL),(59,'Flower -
Carnations','$6.82','Books',NULL,NULL),(60,'Yogurt - Banana, 175
Gr','$22.97','Outdoors',NULL,NULL),(61,'Tequila - Sauza
Silver','$1.44','Kids',NULL,NULL),(62,'Icecream - Dstk Strw
Chseck','$44.07','Games',NULL,NULL),(63,'Wine - Red Oakridge
Merlot','$12.21','Garden',NULL,NULL),(64,'Island Oasis -
Lemonade','$16.65','Garden',NULL,NULL),(65,'Sauce -
Hollandaise','$8.17','Sports',NULL,NULL),(66,'Salsify,
Organic','$37.66','Baby',NULL,NULL),(67,'Bread - Corn
Muffaletta','$26.13','Tools',NULL,NULL),(68,'Pear - Prickly','$23.47','Garden',NULL,NULL),(69,'Beef -
Rib Roast, Capless','$21.35','Baby',NULL,NULL),(70,'Wasabi
Paste','$33.37','Tools',NULL,NULL),(71,'Papadam','$3.88','Beauty',NULL,NULL),(72,'Cleaner - Pine
Sol','$49.63','Home',NULL,NULL),(73,'Apricots Fresh','$40.98','Jewelry',NULL,NULL),(74,'Shrimp -
Prawn','$30.19','Jewelry',NULL,NULL),(75,'Beer - True North
Lager','$31.74','Tools',NULL,NULL),(76,'Wine - Bouchard La Vignee
Pinot','$25.04','Health',NULL,NULL),(77,'Ostrich - Prime
Cut','$32.22','Beauty',NULL,NULL),(78,'Sage - Rubbed','$35.48','Computers',NULL,NULL),(79,'Bread
- White Epi Baguette','$25.66','Jewelry',NULL,NULL),(81,'Sprouts - Baby Pea
Tendrils','$18.31','Industrial',NULL,NULL),(82,'Pastry - Choclate
Baked','$41.27','Computers',NULL,NULL),(83,'Shiratamako - Rice
Flour','$43.73','Beauty',NULL,NULL),(84,'Lettuce -
Arugula','$4.78','Electronics',NULL,NULL),(85,'Tea
Peppermint','$33.44','Electronics',NULL,NULL),(86,'Energy Drink Red
Bull','$41.65','Outdoors',NULL,NULL),(87,'Gingerale - Schweppes, 355
Ml','$34.13','Kids',NULL,NULL),(88,'Horseradish Root','$21.01','Tools',NULL,NULL),(89,'Wine - Pinot
Noir Latour','$4.58','Toys',NULL,NULL),(90,'Brandy Apricot','$0.52','Movies',NULL,NULL),(91,'Butter
- Salted, Micro','$42.80','Sports',NULL,NULL),(92,'Liqueur -
Melon','$43.48','Outdoors',NULL,NULL),(93,'Pepper - Julienne,
Frozen','$1.63','Books',NULL,NULL),(115,'Ezy Change
Mophandle','$32.46','Tools',NULL,NULL),(118,'Coffee Decaf
Colombian','$23.67','Health',NULL,NULL),(119,'Myers Planters
Punch','$32.28','Outdoors',NULL,NULL),(120,'Meldea Green Tea
Liquor','$23.82','Jewelry',NULL,NULL),(121,'Beef - Rib Eye
Aaa','$8.46','Garden',NULL,NULL),(122,'Bread - Calabrese
Baguette','$38.40','Clothing',NULL,NULL),(123,'Pork - Back, Short Cut,
Boneless','$11.16','Tools',NULL,NULL),(124,'Goat - Leg','$28.51','Beauty',NULL,NULL),(125,'Nut -
Cashews, Whole, Raw','$9.35','Electronics',NULL,NULL),(126,'Vinegar -

16
White','$28.28','Clothing',NULL,NULL),(127,'Marzipan
50/50','$28.01','Industrial',NULL,NULL),(128,'Shichimi Togarashi
Peppeers','$42.89','Sports',NULL,NULL),(129,'Snapple Raspberry
Tea','$31.31','Clothing',NULL,NULL),(130,'Madeira','$20.55','Shoes',NULL,NULL),(131,'Mayonnaise -
Individual Pkg','$44.63','Beauty',NULL,NULL),(132,'Garlic -
Elephant','$14.40','Baby',NULL,NULL),(133,'Venison - Racks
Frenched','$14.39','Jewelry',NULL,NULL),(134,'Liquid Aminios Acid -
Braggs','$47.56','Kids',NULL,NULL),(135,'Table Cloth 62x114
White','$48.19','Shoes',NULL,NULL),(136,'Bread - Multigrain,
Loaf','$29.22','Baby',NULL,NULL),(137,'Lamb - Sausage
Casings','$1.10','Computers',NULL,NULL),(138,'Coke - Diet, 355
Ml','$17.58','Books',NULL,NULL),(139,'Cheese - Stilton','$17.85','Kids',NULL,NULL),(140,'Beef -
Short Loin','$36.35','Beauty',NULL,NULL),(149,'Scallop - St.
Jaques','$47.68','Industrial',NULL,NULL),(150,'Mangoes','$27.67','Grocery',NULL,NULL),(152,'Bread
- Ciabatta Buns','$36.26','Computers',NULL,NULL),(153,'Sprouts - China
Rose','$18.33','Clothing',NULL,NULL),(154,'Wine - Chateau
Bonnet','$49.44','Jewelry',NULL,NULL),(155,'Pepper - Chipotle,
Canned','$27.19','Kids',NULL,NULL),(156,'Soup - Campbells
Broccoli','$8.69','Computers',NULL,NULL),(157,'Otomegusa Dashi
Konbu','$9.11','Baby',NULL,NULL),(158,'Easy Off Oven
Cleaner','$25.32','Grocery',NULL,NULL),(159,'Grapefruit -
White','$5.14','Health',NULL,NULL),(160,'Coffee - Decaffeinato
Coffee','$2.26','Kids',NULL,NULL),(161,'Crab - Meat
Combo','$11.74','Beauty',NULL,NULL),(162,'Basil - Dry,
Rubbed','$9.90','Grocery',NULL,NULL),(163,'Beer - Sleemans Honey
Brown','$26.17','Beauty',NULL,NULL),(164,'Horseradish
Root','$2.54','Clothing',NULL,NULL),(165,'Dc - Sakura
Fu','$39.87','Music',NULL,NULL),(166,'Pepperoni Slices','$40.81','Shoes',NULL,NULL),(167,'Kirsch -
Schloss','$23.98','Grocery',NULL,NULL),(168,'Wine - White,
Gewurtzraminer','$22.47','Industrial',NULL,NULL),(169,'Peas
Snow','$16.66','Games',NULL,NULL),(170,'Miso Paste
White','$13.63','Clothing',NULL,NULL),(171,'Steampan - Lid For Half
Size','$16.52','Clothing',NULL,NULL),(172,'Juice - Orange,
Concentrate','$11.18','Shoes',NULL,NULL),(173,'Trueblue - Blueberry
Cranberry','$37.40','Garden',NULL,NULL),(174,'Fish - Artic Char, Cold
Smoked','$10.90','Grocery',NULL,NULL),(175,'Langers - Ruby Red
Grapfruit','$17.08','Music',NULL,NULL),(176,'Edible Flower -
Mixed','$17.30','Health',NULL,NULL),(177,'Rice - 7 Grain
Blend','$4.93','Health',NULL,NULL),(178,'Beer - Mcauslan
Apricot','$29.08','Tools',NULL,NULL),(179,'Butter - Unsalted','$15.78','Tools',NULL,NULL),(180,'Pur
Source','$45.51','Jewelry',NULL,NULL),(182,'Turkey Leg With Drum And
Thigh','$30.82','Grocery',NULL,NULL),(183,'Eggplant -
Baby','$1.89','Grocery',NULL,NULL),(184,'Snapple Lemon
Tea','$39.35','Automotive',NULL,NULL),(185,'Pepsi, 355

17
Ml','$2.32','Computers',NULL,NULL),(186,'Lobster - Cooked','$28.03','Baby',NULL,NULL),(187,'Sole -
Fillet','$39.54','Clothing',NULL,NULL),(188,'Sardines','$21.22','Home',NULL,NULL),(189,'Kiwi Gold
Zespri','$10.92','Home',NULL,NULL),(190,'Longos - Chicken
Curried','$7.98','Games',NULL,NULL),(191,'Venison - Racks
Frenched','$5.32','Tools',NULL,NULL),(192,'Wine - Alicanca
Verde','$39.74','Health',NULL,NULL),(193,'Anisette -
Mcguiness','$16.56','Grocery',NULL,NULL),(194,'Carrots - Purple,
Organic','$26.26','Grocery',NULL,NULL),(195,'Beans - Fava
Fresh','$13.04','Garden',NULL,NULL),(196,'Beer - Sleemans Cream
Ale','$38.17','Sports',NULL,NULL),(197,'Milk - 1%','$32.84','Automotive',NULL,NULL),(198,'Beef -
Top Butt','$34.91','Health',NULL,NULL),(204,'Bread - Flat
Bread','$0.25','Electronics',NULL,NULL),(205,'V8 Pet','$19.68','Kids',NULL,NULL),(206,'Ice Cream -
Life Savers','$15.90','Home',NULL,NULL),(207,'Mustard - Dry,
Powder','$37.38','Grocery',NULL,NULL),(208,'Bread - Rosemary
Focaccia','$6.03','Electronics',NULL,NULL),(209,'Ginger -
Crystalized','$48.41','Computers',NULL,NULL),(210,'Sping Loaded Cup
Dispenser','$3.62','Baby',NULL,NULL),(211,'Cheese - Grana
Padano','$29.69','Music',NULL,NULL),(212,'Salt -
Sea','$46.12','Health',NULL,NULL),(213,'Containter - 3oz Microwave
Rect.','$2.00','Computers',NULL,NULL),(214,'Hickory Smoke,
Liquid','$32.15','Clothing',NULL,NULL),(215,'Pork -
Kidney','$39.31','Clothing',NULL,NULL),(216,'Wine - Charddonnay
Errazuriz','$16.31','Games',NULL,NULL),(218,'Miso - Soy Bean
Paste','$1.56','Jewelry',NULL,NULL),(219,'Olive - Spread
Tapenade','$32.42','Toys',NULL,NULL),(220,'Cheese -
Brie','$7.84','Electronics',NULL,NULL),(221,'Octopus','$20.42','Home',NULL,NULL),(223,'Pate -
Cognac','$8.85','Tools',NULL,NULL),(224,'Allspice -
Jamaican','$10.29','Clothing',NULL,NULL),(225,'Broccoli -
Fresh','$27.42','Books',NULL,NULL),(226,'Pork Loin Bine - In
Frenched','$20.41','Garden',NULL,NULL),(227,'Pineapple - Canned,
Rings','$19.14','Baby',NULL,NULL),(228,'Cornflakes','$10.19','Industrial',NULL,NULL),(229,'Pastry -
Chocolate Chip Muffin','$24.27','Kids',NULL,NULL),(230,'Rosemary -
Fresh','$30.31','Computers',NULL,NULL),(231,'Sugar -
Invert','$12.35','Games',NULL,NULL),(232,'Coffee - Almond
Amaretto','$24.39','Shoes',NULL,NULL),(233,'Sage - Fresh','$46.68','Toys',NULL,NULL),(235,'Hersey
Shakes','$47.15','Outdoors',NULL,NULL),(236,'Pepper - Chili
Powder','$41.47','Toys',NULL,NULL),(237,'Quinoa','$21.91','Toys',NULL,NULL),(238,'Soup -
Campbells, Lentil','$41.23','Clothing',NULL,NULL),(239,'Kirsch -
Schloss','$27.01','Games',NULL,NULL),(240,'Apron','$33.42','Electronics',NULL,NULL),(241,'Nut -
Almond, Blanched, Sliced','$3.39','Games',NULL,NULL),(242,'Swordfish Loin
Portions','$35.10','Health',NULL,NULL),(243,'Venison - Racks
Frenched','$49.82','Books',NULL,NULL),(244,'Icecream -
Dibs','$22.41','Shoes',NULL,NULL),(245,'Pork - Back, Short Cut,
Boneless','$27.63','Tools',NULL,NULL),(246,'Cabbage -

18
Savoy','$0.68','Automotive',NULL,NULL),(247,'Cocoa Powder -
Natural','$10.42','Garden',NULL,NULL),(248,'Beer - Upper Canada
Lager','$42.91','Jewelry',NULL,NULL),(261,'Potatoes - Purple,
Organic','$30.03','Shoes',NULL,NULL),(262,'Gherkin','$47.52','Outdoors',NULL,NULL),(263,'Soup
Campbells - Italian Wedding','$21.53','Tools',NULL,NULL),(266,'Tart Shells - Sweet,
3','$23.68','Kids',NULL,NULL),(268,'Mousse - Banana
Chocolate','$23.10','Jewelry',NULL,NULL),(269,'Icecream - Dstk Strw
Chseck','$33.40','Garden',NULL,NULL),(270,'Cookie Double
Choco','$9.68','Health',NULL,NULL),(271,'Wine - Blue Nun
Qualitatswein','$31.44','Kids',NULL,NULL),(272,'Papayas','$32.34','Sports',NULL,NULL),(273,'Wine -
Ruffino Chianti','$35.51','Grocery',NULL,NULL),(274,'Myers Planters
Punch','$1.52','Sports',NULL,NULL),(275,'Pickerel - Fillets','$36.46','Music',NULL,NULL),(276,'Dried
Peach','$17.93','Electronics',NULL,NULL),(277,'Pasta - Agnolotti -
Butternut','$10.73','Kids',NULL,NULL),(278,'Mushroom - Chanterelle
Frozen','$32.12','Games',NULL,NULL),(279,'Pepper - Gypsy
Pepper','$42.55','Computers',NULL,NULL),(280,'Taro
Root','$17.23','Games',NULL,NULL),(281,'Rosemary - Primerba,
Paste','$27.80','Tools',NULL,NULL),(282,'Beef - Short Loin','$0.52','Kids',NULL,NULL),(283,'Cod -
Salted, Boneless','$26.71','Automotive',NULL,NULL),(284,'Doilies - 7,
Paper','$5.82','Automotive',NULL,NULL),(285,'Ecolab -
Medallion','$5.80','Sports',NULL,NULL),(286,'Tart Shells - Sweet,
4','$37.49','Music',NULL,NULL),(287,'Water - Spring Water, 355
Ml','$16.82','Books',NULL,NULL),(288,'Cheese -
Gorgonzola','$44.22','Music',NULL,NULL),(289,'Carbonated Water -
Cherry','$23.44','Shoes',NULL,NULL),(290,'Cheese - Woolwich Goat,
Log','$45.82','Garden',NULL,NULL),(291,'Soup -
Campbells','$34.27','Outdoors',NULL,NULL),(292,'Hog / Sausage Casing -
Pork','$17.68','Shoes',NULL,NULL),(293,'Wakami
Seaweed','$38.63','Computers',NULL,NULL),(294,'Water -
Perrier','$0.41','Toys',NULL,NULL),(295,'Schnappes Peppermint -
Walker','$15.41','Grocery',NULL,NULL),(296,'Croissant, Raw -
Mini','$0.11','Computers',NULL,NULL),(297,'Table Cloth 120 Round
White','$14.01','Beauty',NULL,NULL),(298,'Chicken -
Tenderloin','$13.51','Industrial',NULL,NULL),(299,'Pop Shoppe Cream
Soda','$9.36','Outdoors',NULL,NULL),(300,'Pomello','$2.68','Tools',NULL,NULL),(301,'Flax
Seed','$1.25','Jewelry',NULL,NULL),(302,'Oil - Food, Lacquer
Spray','$9.24','Electronics',NULL,NULL),(303,'Wine - Soave
Folonari','$28.13','Jewelry',NULL,NULL),(304,'Cake - Night And Day
Choclate','$38.01','Garden',NULL,NULL),(305,'Goat - Whole
Cut','$12.98','Baby',NULL,NULL),(306,'Artichoke -
Fresh','$45.33','Industrial',NULL,NULL),(307,'Tandoori Curry
Paste','$29.90','Industrial',NULL,NULL),(308,'Extract -
Raspberry','$17.82','Clothing',NULL,NULL),(309,'Wine - Montecillo Rioja
Crianza','$32.41','Grocery',NULL,NULL),(310,'Lobster - Tail, 3 - 4

19
Oz','$35.85','Games',NULL,NULL),(311,'Tobasco
Sauce','$16.56','Health',NULL,NULL),(312,'Mushroom - Chanterelle
Frozen','$30.86','Tools',NULL,NULL),(313,'Pasta -
Canelloni','$14.55','Automotive',NULL,NULL),(314,'Towel
Multifold','$29.41','Games',NULL,NULL),(315,'Tuna - Salad
Premix','$38.50','Shoes',NULL,NULL),(316,'Blackberries','$16.72','Shoes',NULL,NULL),(317,'Mace','$
32.40','Games',NULL,NULL),(319,'Water - Aquafina
Vitamin','$11.56','Health',NULL,NULL),(320,'Vermouth - White,
Cinzano','$46.47','Industrial',NULL,NULL),(321,'Pepper - Black,
Crushed','$43.93','Clothing',NULL,NULL),(322,'Chicken - Leg,
Boneless','$16.77','Grocery',NULL,NULL),(323,'Wine - Baron De
Rothschild','$45.99','Kids',NULL,NULL),(324,'Oil - Olive','$4.13','Kids',NULL,NULL),(325,'Clams -
Littleneck, Whole','$31.80','Books',NULL,NULL),(326,'Wine - Rioja Campo
Viejo','$18.35','Home',NULL,NULL),(327,'Kahlua','$39.95','Computers',NULL,NULL),(328,'Flour -
Cake','$15.11','Games',NULL,NULL),(329,'Wine - Gewurztraminer
Pierre','$13.78','Garden',NULL,NULL),(336,'Sauce -
Rosee','$39.85','Books',NULL,NULL),(337,'Icecream - Dstk Cml And
Fdg','$7.03','Kids',NULL,NULL),(338,'Creme De Cacao
White','$34.85','Toys',NULL,NULL),(339,'Pastry - Cheese Baked
Scones','$14.64','Outdoors',NULL,NULL),(340,'Paper Towel
Touchless','$47.77','Jewelry',NULL,NULL),(341,'Muffin - Banana Nut
Individual','$24.47','Outdoors',NULL,NULL),(342,'Tart Shells - Barquettes,
Savory','$34.75','Electronics',NULL,NULL),(343,'Cheese -
Ricotta','$24.86','Baby',NULL,NULL),(344,'Quail - Whole,
Boneless','$41.57','Electronics',NULL,NULL),(345,'Carrots - Mini Red
Organic','$11.29','Baby',NULL,NULL),(346,'Eggwhite
Frozen','$48.86','Baby',NULL,NULL),(347,'Petite Baguette','$8.49','Toys',NULL,NULL),(348,'Apple -
Granny Smith','$0.99','Health',NULL,NULL),(349,'Wine - Chianti Classico
Riserva','$36.20','Grocery',NULL,NULL),(350,'Pork - Ham Hocks -
Smoked','$10.52','Sports',NULL,NULL),(351,'Lettuce -
Frisee','$29.94','Sports',NULL,NULL),(352,'Turnip - Wax','$48.23','Health',NULL,NULL),(353,'Sauce -
Rosee','$35.28','Jewelry',NULL,NULL),(354,'Pineapple - Canned,
Rings','$7.44','Shoes',NULL,NULL),(355,'Compound - Pear','$14.90','Music',NULL,NULL),(356,'Table
Cloth 62x114 White','$45.36','Books',NULL,NULL),(357,'Puree -
Strawberry','$7.05','Books',NULL,NULL),(358,'The Pop Shoppe - Root
Beer','$35.02','Home',NULL,NULL),(359,'Evaporated Milk -
Skim','$48.08','Clothing',NULL,NULL),(360,'Pork - Bacon,back
Peameal','$47.89','Industrial',NULL,NULL),(361,'Cookie - Dough
Variety','$19.43','Health',NULL,NULL),(362,'Trout - Hot Smkd, Dbl
Fillet','$36.50','Books',NULL,NULL),(363,'Nut - Pecan,
Halves','$11.96','Home',NULL,NULL),(365,'Chips -
Assorted','$48.38','Automotive',NULL,NULL),(366,'Table Cloth 54x72
Colour','$45.96','Outdoors',NULL,NULL),(367,'Tart - Raisin And
Pecan','$8.15','Baby',NULL,NULL),(369,'Syrup - Kahlua

20
Chocolate','$5.62','Tools',NULL,NULL),(386,'Cheese - Gouda
Smoked','$34.79','Shoes',NULL,NULL),(391,'Beef Cheek
Fresh','$30.44','Tools',NULL,NULL),(408,'Wine - Casillero Del
Diablo','$9.33','Toys',NULL,NULL),(409,'Aspic - Clear','$49.92','Kids',NULL,NULL),(410,'Vector
Energy Bar','$29.12','Sports',NULL,NULL),(411,'Cookie Chocolate Chip
With','$32.72','Games',NULL,NULL),(412,'Chocolate Bar -
Smarties','$15.20','Electronics',NULL,NULL),(413,'Versatainer Nc -
8288','$28.78','Movies',NULL,NULL),(414,'Beer - Upper Canada
Light','$12.33','Automotive',NULL,NULL),(415,'Rabbit -
Whole','$38.93','Garden',NULL,NULL),(416,'Jam - Blackberry, 20 Ml
Jar','$43.75','Garden',NULL,NULL),(417,'Cucumber - English','$48.66','Music',NULL,NULL),(418,'Bar
Mix - Lemon','$14.05','Toys',NULL,NULL),(419,'Hot Chocolate -
Individual','$48.29','Music',NULL,NULL),(420,'Wine - Winzer Krems
Gruner','$32.31','Toys',NULL,NULL),(421,'Venison -
Striploin','$13.65','Sports',NULL,NULL),(422,'Blue Curacao - Marie
Brizard','$26.28','Clothing',NULL,NULL),(423,'Cheese - Perron
Cheddar','$17.92','Outdoors',NULL,NULL),(424,'Bread - Sticks, Thin,
Plain','$46.26','Baby',NULL,NULL),(425,'Tortillas - Flour,
12','$10.04','Clothing',NULL,NULL),(426,'Jameson Irish
Whiskey','$6.92','Jewelry',NULL,NULL),(427,'Yogurt - Raspberry, 175
Gr','$29.90','Movies',NULL,NULL),(428,'Ecolab Digiclean Mild
Fm','$33.31','Music',NULL,NULL),(429,'Cookie Dough -
Double','$43.44','Games',NULL,NULL),(430,'Appetizer - Smoked Salmon /
Dill','$10.32','Outdoors',NULL,NULL),(431,'Container - Hngd
7x7x3','$11.02','Grocery',NULL,NULL),(432,'Bay Leaf','$31.08','Automotive',NULL,NULL),(433,'Beer
- Muskoka Cream Ale','$22.83','Clothing',NULL,NULL),(434,'Extract -
Rum','$45.71','Electronics',NULL,NULL),(435,'Muffin Hinge -
211n','$28.57','Books',NULL,NULL),(436,'Triple Sec -
Mcguinness','$26.43','Outdoors',NULL,NULL),(437,'Muffin Mix -
Blueberry','$7.84','Computers',NULL,NULL),(438,'Jam - Blackberry, 20 Ml
Jar','$47.17','Garden',NULL,NULL),(439,'Wine - Chenin Blanc
K.w.v.','$13.67','Games',NULL,NULL),(440,'Foam Espresso Cup Plain
White','$10.31','Baby',NULL,NULL),(441,'Lentils - Green,
Dry','$8.23','Movies',NULL,NULL),(442,'Beef - Rib Roast, Cap
On','$49.46','Games',NULL,NULL),(443,'Alize Gold
Passion','$39.74','Sports',NULL,NULL),(444,'Lemon
Grass','$39.62','Industrial',NULL,NULL),(445,'Potatoes - Idaho 100
Count','$0.15','Computers',NULL,NULL),(451,'Godiva White
Chocolate','$31.83','Shoes',NULL,NULL),(452,'Cleaner -
Bleach','$27.51','Jewelry',NULL,NULL),(453,'Beans - Kidney,
Canned','$25.43','Garden',NULL,NULL),(454,'Bacon Strip
Precooked','$40.40','Health',NULL,NULL),(455,'Asparagus -
Frozen','$39.81','Industrial',NULL,NULL),(456,'Wine - White, Lindemans Bin
95','$0.50','Jewelry',NULL,NULL),(457,'Brandy Cherry -

21
Mcguinness','$15.93','Health',NULL,NULL),(458,'Chicken - Thigh, Bone
In','$39.31','Computers',NULL,NULL),(459,'Broom -
Angled','$14.48','Home',NULL,NULL),(460,'Campari','$26.02','Beauty',NULL,NULL),(461,'Lobster -
Canned Premium','$26.82','Clothing',NULL,NULL),(462,'Mayonnaise - Individual
Pkg','$45.65','Movies',NULL,NULL),(463,'Pastry - Banana Muffin -
Mini','$24.78','Games',NULL,NULL),(464,'Pork -
Liver','$16.19','Outdoors',NULL,NULL),(465,'Gatorade - Fruit
Punch','$26.00','Books',NULL,NULL),(466,'Wild Boar -
Tenderloin','$47.86','Jewelry',NULL,NULL),(467,'Fudge - Chocolate
Fudge','$35.17','Home',NULL,NULL),(468,'Lemon
Pepper','$12.52','Games',NULL,NULL),(469,'Appetizer - Seafood
Assortment','$40.49','Industrial',NULL,NULL),(470,'Broom And Broom Rack
White','$16.14','Health',NULL,NULL),(471,'Coriander - Ground','$5.35','Sports',NULL,NULL),(472,'Slt
- Individual Portions','$12.63','Home',NULL,NULL),(473,'Lobster - Tail 6
Oz','$41.87','Jewelry',NULL,NULL),(474,'Pork - Ham,
Virginia','$3.05','Tools',NULL,NULL),(475,'Muffin Batt - Choc
Chk','$10.74','Toys',NULL,NULL),(476,'Wine - Mas Chicet Rose,
Vintage','$27.04','Music',NULL,NULL),(477,'Veal -
Sweetbread','$27.33','Automotive',NULL,NULL),(478,'Appetizer -
Southwestern','$1.70','Computers',NULL,NULL),(479,'Monkfish Fresh - Skin
Off','$38.61','Industrial',NULL,NULL),(480,'Beef - Tenderloin -
Aa','$35.72','Toys',NULL,NULL),(481,'Soup - Campbells, Cream
Of','$10.98','Movies',NULL,NULL),(482,'Pears -
Fiorelle','$14.87','Computers',NULL,NULL),(483,'Soup - Campbells, Spinach
Crm','$22.71','Industrial',NULL,NULL),(484,'Soup - Campbells
Bdley','$7.99','Electronics',NULL,NULL),(485,'Veal -
Striploin','$4.67','Sports',NULL,NULL),(486,'Salmon - Smoked,
Sliced','$35.10','Garden',NULL,NULL),(487,'Sprouts -
Bean','$44.34','Jewelry',NULL,NULL),(488,'Bread - Pita,
Mini','$29.79','Beauty',NULL,NULL),(489,'Vinegar - White
Wine','$25.90','Outdoors',NULL,NULL),(490,'Wine - Chenin Blanc
K.w.v.','$26.44','Automotive',NULL,NULL),(491,'Lotus Root','$26.48','Music',NULL,NULL),(492,'Corn
Meal','$35.40','Movies',NULL,NULL),(493,'Coffee - Colombian,
Portioned','$16.34','Jewelry',NULL,NULL),(494,'Croissant, Raw -
Mini','$23.87','Music',NULL,NULL),(495,'Truffle
Paste','$13.53','Games',NULL,NULL),(496,'Chocolate -
Dark','$41.48','Clothing',NULL,NULL),(497,'Bread - Onion
Focaccia','$6.89','Industrial',NULL,NULL),(498,'Chicken - Leg,
Fresh','$8.58','Jewelry',NULL,NULL),(499,'Tart Shells - Savory,
4','$48.64','Tools',NULL,NULL),(500,'Longos - Cheese Tortellini','$8.15','Tools',NULL,NULL);

/*!40000 ALTER TABLE `Productos` ENABLE KEYS */;

UNLOCK TABLES;

22
--

-- Table structure for table `Proveedores`

--

DROP TABLE IF EXISTS `Proveedores`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Proveedores` (

`id_proveedores` int NOT NULL,

`nombre` varchar(50) DEFAULT NULL,

`telefono` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id_proveedores`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Proveedores`

--

LOCK TABLES `Proveedores` WRITE;

/*!40000 ALTER TABLE `Proveedores` DISABLE KEYS */;

INSERT INTO `Proveedores` VALUES (1,'Pleo San Salm','641-554-5669'),(2,'Ampicillin','556-248-


4961'),(3,'Your Logo Here Burn First Aid','180-724-1447'),(4,'HYDROCORTISONE','277-829-
0280'),(5,'Arthritis Relief','341-716-0407'),(6,'Kerastase Specifique','919-846-2269'),(7,'Hand
Armor','560-934-3756'),(8,'LEVOTHYROXINE SODIUM','957-801-7607'),(9,'Fosrenol','969-899-
0461'),(10,'Levothyroxine Sodium','190-611-7134'),(11,'Propranolol Hydrochloride','664-849-
2294'),(12,'ZOOBY','118-142-3021'),(13,'Baby SensiGel','850-415-7085'),(14,'Clonidine
Hydrochloride','157-470-7221'),(15,'Propofol','906-457-5868'),(16,'Hydrocodone Bitartrate and
Acetaminophen','191-770-8407'),(17,'naproxen sodium','790-480-8452'),(18,'clindamycin
phosphate','417-962-3233'),(19,'Clorazepate Dipotassium','267-592-8378'),(20,'Doxepin
Hydrochloride','744-297-8760'),(21,'Ginger Blossom Antibacterial Foaming Hand Wash','615-766-
1996'),(22,'Toms Whole Care Spearmint','659-436-4795'),(23,'Horse Fly','354-462-
4110'),(24,'Terbinafine Hydrochloride','688-885-5205'),(25,'Folic Acid','274-592-

23
9567'),(26,'Cortisporin-TC','267-188-6068'),(27,'Night Time Cherry','379-685-0823'),(28,'Potassium
Chloride','738-155-4973'),(29,'Good Neighbor Pharmacy Tussin','796-150-2440'),(30,'XtraCare
Creamy Petroleum Jelly','126-543-4342'),(31,'Americaine','414-512-6492'),(32,'Meclizine HCl','801-
825-1538'),(33,'MINERAL TINTED MOISTURIZER','562-692-0090'),(34,'No7 Stay Perfect Foundation
Sunscreen SPF 15 Mocha','476-229-2017'),(35,'Sinus Relief Headache Nasal','279-179-
2150'),(36,'Milk of Magnesia','207-161-6684'),(37,'Flurazepam','481-819-0435'),(38,'allergy and
congestion relief','842-627-1512'),(39,'Diazepam','690-930-2183'),(40,'Argentum Metallicum','830-
236-3893'),(41,'Morphine Sulfate','164-704-9100'),(42,'all day pain relief','747-691-
7543'),(43,'Degree','718-984-4835'),(44,'Carvedilol','354-672-1663'),(45,'Soothe and Cool Free Skin
Paste','812-691-6702'),(46,'Sulwhasoo Lumitouch Multi-Base','724-332-6442'),(47,'DEFEND
Cough','113-208-7345'),(48,'ANTIPYRINE AND BENZOCAINE','939-468-0918'),(50,'Tanzeum','451-
444-5332'),(51,'Cleansing Towelette','680-463-0922'),(52,'Cortizone 10 Cooling Relief','488-637-
7457'),(53,'Dollar General Acne Spot Medication','487-960-9543'),(54,'DR.Fresh Kids
Pediatric','494-929-2190'),(56,'Hand Sanitizer','111-905-5503'),(57,'Reversion Acne Control','212-
719-3620'),(58,'EltaMD UV Shield','358-976-2547'),(59,'Stomach Relief Anti Diarrheal','725-759-
8371'),(60,'L-Methylfolate Calcium','630-878-4906'),(61,'Bladder Irritation','789-770-
4121'),(62,'Daliresp','597-800-6653'),(63,'Ondansetron Hydrochloride','447-420-
9288'),(64,'Childrens Delsym','574-625-3404'),(65,'PANROSA Honey Scented Hand','177-706-
3506'),(66,'Piperacillin and Tazobactam','246-886-2315'),(68,'Suboxone','409-389-
4851'),(69,'Warfarin Sodium','399-609-1724'),(70,'7 select night time relief','943-184-
2073'),(71,'AVANDIA','708-615-1377'),(72,'Levothyroxine Sodium','807-485-
6610'),(73,'Montelukast Sodium','601-848-7742'),(74,'Laxative','545-331-0331'),(75,'Benicar','512-
812-5675'),(76,'Fluconazole','850-507-9007'),(77,'Morphine Sulfate','405-746-
8060'),(78,'Ampicillin and Sulbactam','212-457-9788'),(79,'SHISEIDO BENEFIANCE NUTRIPERFECT
DAY','319-547-1261'),(80,'SODIUM SULFACETAMIDE and SULFUR','467-492-9603'),(81,'SNORING
HP','868-444-7482'),(82,'Antiseptic','521-295-1665'),(83,'LEUKERAN','540-412-
8101'),(84,'Polymyxin B','308-780-0384'),(85,'FACE IT RADIANCE POWDER PACT SPMOISTURE VEIL
NB17','686-622-2753'),(86,'Diclofenac Sodium','651-358-9239'),(87,'Midazolam HCl','866-957-
2058'),(88,'Loperamide HCl Anti-Diarrheal','243-284-0068'),(89,'Good Neighbor Pharmacy Dayhist
Allergy','266-345-8556'),(90,'Vicks DayQuil and Vicks NyQuil','900-612-6081'),(91,'Potassium
Chloride','792-732-2880'),(92,'EpiPen','364-417-5324'),(93,'Prednisone','901-201-
4934'),(94,'Meloxicam','884-431-8456'),(95,'eye itch relief','255-748-8706'),(96,'JIN GU
WANG','938-132-8027'),(97,'Kynamro','403-571-1811'),(98,'Gelato Neutral pH','142-403-
5231'),(99,'Olivene','709-604-8657'),(100,'Pure Tan Skin Defense Makeup SPF 15','617-483-8124');

/*!40000 ALTER TABLE `Proveedores` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Ventas`

--

24
DROP TABLE IF EXISTS `Ventas`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Ventas` (

`id_venta` int NOT NULL,

`factura` varchar(50) DEFAULT NULL,

`Precio` varchar(50) DEFAULT NULL,

`id_factura` int DEFAULT NULL,

`id_producto` int DEFAULT NULL,

PRIMARY KEY (`id_venta`),

KEY `id_factura` (`id_factura`),

KEY `id_producto` (`id_producto`),

CONSTRAINT `Ventas_ibfk_1` FOREIGN KEY (`id_factura`) REFERENCES `Facturas` (`id_factura`),

CONSTRAINT `Ventas_ibfk_2` FOREIGN KEY (`id_producto`) REFERENCES `Productos` (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Ventas`

--

LOCK TABLES `Ventas` WRITE;

/*!40000 ALTER TABLE `Ventas` DISABLE KEYS */;

INSERT INTO `Ventas` VALUES (1,'Wine - Saint Emilion Calvet','$30.72',NULL,NULL),(2,'Pickles -


Gherkins','$10.25',NULL,NULL),(3,'Lamb Tenderloin Nz Fr','$47.39',NULL,NULL),(4,'Corn -
Mini','$36.52',NULL,NULL),(5,'Curry Paste - Green Masala','$49.51',NULL,NULL),(6,'Lid -
Translucent, 3.5 And 6 Oz','$4.25',NULL,NULL),(7,'Chicken - Diced,
Cooked','$35.37',NULL,NULL),(8,'Wine - White, Ej Gallo','$13.41',NULL,NULL),(9,'Longos - Penne
With Pesto','$49.49',NULL,NULL),(10,'Longos - Chicken Curried','$1.77',NULL,NULL),(11,'Sage
Ground Wiberg','$39.92',NULL,NULL),(12,'Crush - Cream Soda','$16.41',NULL,NULL),(13,'Beans -
Black Bean, Dry','$49.85',NULL,NULL),(14,'Sproutsmustard
Cress','$30.44',NULL,NULL),(15,'Plasticforkblack','$22.00',NULL,NULL),(16,'Chilli Paste, Ginger

25
Garlic','$33.60',NULL,NULL),(17,'Veal - Leg','$48.21',NULL,NULL),(18,'Bok Choy -
Baby','$16.32',NULL,NULL),(19,'Garlic','$15.70',NULL,NULL),(20,'Gelatine Leaves -
Envelopes','$12.20',NULL,NULL),(21,'Tortillas - Flour, 10','$46.72',NULL,NULL),(22,'Cheese - Bakers
Cream Cheese','$10.53',NULL,NULL),(23,'Crab - Claws, Snow 16 -
24','$36.85',NULL,NULL),(24,'Chocolate Bar - Reese Pieces','$13.72',NULL,NULL),(25,'Soup - Knorr,
Veg / Beef','$19.23',NULL,NULL),(26,'Foam Cup 6 Oz','$37.03',NULL,NULL),(27,'Juice -
Lemon','$40.94',NULL,NULL),(28,'Cream - 18%','$22.57',NULL,NULL),(29,'Lentils - Green,
Dry','$33.38',NULL,NULL),(30,'Towel - Roll White','$13.09',NULL,NULL),(31,'Wine - White, Schroder
And Schyl','$3.78',NULL,NULL),(32,'Plate - Foam, Bread And
Butter','$21.35',NULL,NULL),(33,'Tandoori Curry Paste','$34.92',NULL,NULL),(34,'Wine - Cava Aria
Estate Brut','$19.00',NULL,NULL),(35,'Flour Dark Rye','$23.39',NULL,NULL),(36,'Lobster - Baby,
Boiled','$31.80',NULL,NULL),(37,'Icecream - Dibs','$41.89',NULL,NULL),(38,'Cinnamon
Rolls','$36.56',NULL,NULL),(39,'Beets','$3.92',NULL,NULL),(40,'Cheese - Brick With
Onion','$39.00',NULL,NULL),(41,'Buffalo - Striploin','$11.87',NULL,NULL),(42,'Maple
Syrup','$2.83',NULL,NULL),(43,'Tomatoes - Hot House','$0.95',NULL,NULL),(44,'Flour - Whole
Wheat','$39.36',NULL,NULL),(45,'Bar Mix - Lime','$47.03',NULL,NULL),(46,'Trueblue -
Blueberry','$46.31',NULL,NULL),(47,'Soup - Campbells, Beef Barley','$40.95',NULL,NULL),(48,'Wine
- Ruffino Chianti Classico','$40.07',NULL,NULL),(49,'Garam Masala
Powder','$40.17',NULL,NULL),(50,'Rice - Wild','$40.28',NULL,NULL),(51,'Pineapple -
Golden','$40.89',NULL,NULL),(52,'Chicken - Thigh, Bone In','$19.66',NULL,NULL),(53,'Butter Ripple
- Phillips','$27.51',NULL,NULL),(54,'Mikes Hard Lemonade','$12.06',NULL,NULL),(55,'Cherries -
Frozen','$36.05',NULL,NULL),(64,'Gherkin - Sour','$31.86',NULL,NULL),(65,'Rice -
Basmati','$2.94',NULL,NULL),(66,'Lettuce Romaine Chopped','$28.56',NULL,NULL),(67,'Irish Cream
- Butterscotch','$37.67',NULL,NULL),(68,'Beef - Baby, Liver','$38.93',NULL,NULL),(69,'Crab -
Imitation Flakes','$2.40',NULL,NULL),(70,'Sauce - Balsamic
Viniagrette','$12.65',NULL,NULL),(71,'Coffee Caramel
Biscotti','$25.48',NULL,NULL),(72,'Savory','$35.66',NULL,NULL),(73,'Oil -
Coconut','$40.64',NULL,NULL),(74,'Beef - Diced','$42.84',NULL,NULL),(75,'Longos - Grilled Chicken
With','$0.61',NULL,NULL),(76,'Sweet Pea Sprouts','$40.11',NULL,NULL),(77,'Longos - Chicken
Caeser Salad','$36.41',NULL,NULL),(78,'Sultanas','$26.98',NULL,NULL),(79,'Cookies - Englishbay
Wht','$43.15',NULL,NULL),(80,'Rice - Wild','$19.44',NULL,NULL),(81,'Tortillas - Flour,
8','$23.84',NULL,NULL),(82,'Wine -
Sake','$21.55',NULL,NULL),(83,'Pectin','$42.33',NULL,NULL),(84,'Halibut - Whole,
Fresh','$38.93',NULL,NULL),(85,'Quail - Whole, Bone - In','$38.58',NULL,NULL),(86,'Lobster -
Canned Premium','$5.48',NULL,NULL),(87,'Chocolate Bar -
Smarties','$35.85',NULL,NULL),(88,'Milkettes - 2%','$46.15',NULL,NULL),(89,'Arctic Char - Fresh,
Whole','$31.54',NULL,NULL),(90,'Pepper - White, Ground','$14.31',NULL,NULL),(91,'Dehydrated
Kelp Kombo','$47.83',NULL,NULL),(92,'Wine - Pinot Noir Mondavi
Coastal','$43.88',NULL,NULL),(93,'Dc - Frozen Momji','$32.50',NULL,NULL),(94,'Soup - Canadian
Pea, Dry Mix','$9.54',NULL,NULL),(95,'Langers - Mango Nectar','$30.88',NULL,NULL),(96,'Wine -
Conde De Valdemar','$39.72',NULL,NULL),(97,'Lettuce - Mini Greens,
Whole','$37.97',NULL,NULL),(98,'Lambcasing','$32.20',NULL,NULL),(99,'Hagen Daza - Dk
Choocolate','$10.75',NULL,NULL),(100,'Ginger - Crystalized','$39.67',NULL,NULL);

/*!40000 ALTER TABLE `Ventas` ENABLE KEYS */;

26
UNLOCK TABLES;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2023-03-14 19:34:35

DB2
-- MySQL dump 10.13 Distrib 8.0.32, for Win64 (x86_64)

--

-- Host: 127.0.0.1 Database: db2

-- ------------------------------------------------------

-- Server version 8.0.32

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;

/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;

/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

/*!50503 SET NAMES utf8 */;

/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;

/*!40103 SET TIME_ZONE='+00:00' */;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;

/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,


FOREIGN_KEY_CHECKS=0 */;

27
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--

-- Table structure for table `editorial`

--

DROP TABLE IF EXISTS `editorial`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `editorial` (

`idEditorial` int DEFAULT NULL,

`editorial` varchar(50) DEFAULT NULL,

`direccion` varchar(50) DEFAULT NULL,

`ciudad` varchar(50) DEFAULT NULL,

`telefono` varchar(50) DEFAULT NULL,

`email` varchar(50) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `editorial`

--

LOCK TABLES `editorial` WRITE;

/*!40000 ALTER TABLE `editorial` DISABLE KEYS */;

INSERT INTO `editorial` VALUES (1,'Kamur-Papua


Island','Afghanistan','Khadīr','3257683634','asymcock0@tinyurl.com'),(2,'Sarzana
(SP)','Afghanistan','Sang-e
Chārak','8812993729','plambillion1@disqus.com'),(3,'Kokshetau','Afghanistan','Bāzārak','6645493

28
762','kcaban2@google.ru'),(4,'Lille/Lesquin','Afghanistan','Mutā
Khān','3700818777','bgoodoune3@feedburner.com'),(5,'Puerto
Leda','Afghanistan','Quchanghī','9014912722','bgillean4@ft.com'),(6,'Yazd','Afghanistan','Paghmān
','7276727718','nmarrion5@java.com'),(7,'Moyo','Afghanistan','Ḩukūmat-e
Shīnkaī','2893767680','ktombs6@howstuffworks.com'),(8,'Santa Cruz das
Flores','Afghanistan','Dūāb','8682229668','mpawelke7@shutterfly.com'),(9,'Deir ez-
Zor','Afghanistan','Ghormach','6569700596','ldanton8@cloudflare.com'),(10,'Nottingham','Afghani
stan','Gardēz','7756101499','gingledew9@chicagotribune.com'),(11,NULL,'Afghanistan','Pul-e
Khumrī','6063007784','hpoultona@yolasite.com'),(12,'Al
Ula','Afghanistan','Khinjān','7622896934','aemmertb@yahoo.com'),(13,'Koyukuk','Afghanistan','M
ehtar Lām','1884220746','skhilkovc@wsj.com'),(14,'Sawan','Afghanistan','Markaz-e Woluswalī-ye
Āchīn','6855234496','ttissingtond@utexas.edu'),(15,'Dallas-Fort
Worth','Afghanistan','Nīkêh','8593605737','maizkovitche@ucsd.edu'),(16,'San Cristobal de las
Casas','Afghanistan','Aībak','7298389750','tbownf@webs.com'),(17,'Khovd','Afghanistan','Baghlān'
,'5513400952','hwolpertg@lulu.com'),(18,'Nueva
Gerona','Afghanistan','Injīl','2943160717','cjentleh@tripadvisor.com'),(19,'Solovetsky
Islands','Afghanistan','Jabal os
Saraj','8718051316','sdoudneyi@wix.com'),(20,NULL,'Afghanistan','Barakī
Barak','7271548513','dcradockj@latimes.com'),(21,'St
Pierre','Afghanistan','Tsapêraī','4840234817','hadamsk@amazon.com'),(22,'Brevig
Mission','Afghanistan','Farah','8667040193','ebachural@rambler.ru'),(23,'Halifax','Afghanistan','Ka
i','4345260191','esketchm@blogs.com'),(24,'Redhill','Afghanistan','Zīrakī','5330586836','cpoinsett
n@ow.ly'),(25,'Tocumen','Afghanistan','Kafir
Qala','5015482612','mcolbecko@icio.us'),(26,'Savannah','Afghanistan','Khānaqāh','0548025010','b
swiersp@123-
reg.co.uk'),(27,'Zemio','Afghanistan','Karukh','4169629051','tgodspeedeq@moonfruit.com'),(28,'R
oosevelt','Afghanistan','Khafizan','1514552744','rdemattiar@shinystat.com'),(29,'Enshi','Afghanist
an','Khōshī','9677246615','eleathards@squidoo.com'),(30,'Tilin','Afghanistan','Kabul','6567193344'
,'bblamirest@slideshare.net'),(31,'Kolaka','Afghanistan','Maymana','3423078235','rtisunu@wp.co
m'),(32,'Deadhorse','Afghanistan','Farah','7460514594','kmitchelyv@marriott.com'),(33,'Sukhumi',
'Afghanistan','Khānaqāh','4415551548','zcartmerw@bandcamp.com'),(34,'Nicoya/Guanacate','Afg
hanistan','Ghazni','4671553260','mtunuyx@usda.gov'),(35,'Vannes/Meucon','Afghanistan','Jabal
os Saraj','0959962247','mstarbuckey@slate.com'),(36,NULL,'Afghanistan','Deh-e
Now','1184179107','wrandersonz@tinyurl.com'),(37,'Taos','Afghanistan','Markaz-e Ḩukūmat-e
Darwēshān','3802422244','gbowes10@ebay.co.uk'),(38,'Bunju Island','Afghanistan','Pas
Pul','5026212301','esapir11@pbs.org'),(39,'Puerto
Montt','Afghanistan','Chimtāl','6108828072','rfrankham12@mit.edu'),(40,'St
Mary\'s','Afghanistan','Khōst','1978834012','ryakebovitch13@wufoo.com'),(41,'Izhevsk','Afghanist
an','Zīrakī','2825806455','nvedeneev14@huffingtonpost.com'),(42,'Oshawa','Afghanistan','Jawand'
,'9902645100','gstamps15@umn.edu'),(43,'Deer Lake','Afghanistan','Sangar
Sarāy','4795767696','lespinazo16@miitbeian.gov.cn'),(44,'Atoifi','Afghanistan','La‘l','2140494423','
taimeric17@bbb.org'),(45,'Dorobisoro','Afghanistan','Qarqīn','3873191814','emcgeachey18@site
meter.com'),(46,'Blakely
Island','Afghanistan','Ghazni','0734836449','dcarsberg19@sourceforge.net'),(47,'Antalya','Afghanis

29
tan','Āsmār','7143547204','cdoohey1a@wsj.com'),(48,'Laval/Entrammes','Afghanistan','Bal
Chirāgh','2707881252','caudley1b@nih.gov'),(49,'Lushoto','Afghanistan','Khōshāmand','41843147
16','ascamadin1c@4shared.com'),(50,'Fréjus','Afghanistan','Kafir
Qala','6880174027','burlich1d@behance.net'),(51,'Coto
Brus','Afghanistan','Quchanghī','4758416109','grolfs1e@thetimes.co.uk'),(52,'Smiths
Falls','Afghanistan','Gereshk','9197649422','kplum1f@creativecommons.org'),(53,'Caçapava Do
Sul','Afghanistan','Mīr Bachah Kōṯ','9813630574','wcutchey1g@mozilla.com'),(54,'Bordj Badji
Mokhtar','Afghanistan','Kishk-e Nakhūd','3993984455','ggilardi1h@vimeo.com'),(55,'Klamath
Falls','Afghanistan','Andkhōy','1780671873','cklazenga1i@google.com.br'),(56,'Den
Helder','Afghanistan','Aībak','0402928393','rbaert1j@huffingtonpost.com'),(57,'Cachoeiro Do
Itapemirim','Afghanistan','Bal
Chirāgh','5263877137','smcbrearty1k@shareasale.com'),(58,'Carnot','Afghanistan','Shahr-e
Şafā','9081218271','rraccio1l@umich.edu'),(59,'Erzincan','Afghanistan','Khūgyāṉī','7746490018','fk
ummerlowe1m@wikipedia.org'),(60,'Currais
Novos','Afghanistan','Tsowkêy','5454564737','bpiperley1n@myspace.com'),(61,'Manta','Afghanist
an','Charikar','7836657124','abowling1o@miitbeian.gov.cn'),(62,'Djerba','Afghanistan','Khayr
Kōṯ','9703672663','dclute1p@patch.com'),(63,'Taraz','Afghanistan','Khulm','3687626636','mjentin
1q@4shared.com'),(64,'Pangkor
Island','Afghanistan','Khanabad','8282943002','mrathbone1r@myspace.com'),(65,'Tete','Afghanist
an','Dasht-e Archī','6497630538','mexall1s@sphinn.com'),(66,'Aima
Ata','Afghanistan','Kanḏay','5205700009','sbentall1t@angelfire.com'),(67,'Bluefileds','Afghanistan',
'Nāṟay','9785679748','kduffil1u@netlog.com'),(68,'Cangyuan Va Autonomous
County','Afghanistan','Ţāqchah
Khānah','5086767350','cconing1v@sfgate.com'),(69,'Coffeyville','Afghanistan','Nāṟay','9085551722
','sdoni1w@cbslocal.com'),(70,'Basco','Afghanistan','Tsowkêy','3648322567','syeoland1x@eepurl.c
om'),(71,'Porgera','Afghanistan','Khamyāb','0360021433','cthor1y@purevolume.com'),(72,'Tiga','A
fghanistan','Pārūn','5684904696','cchurm1z@mysql.com'),(73,'Malam','Afghanistan','Fayzabad','84
36984773','bbowlas20@nature.com'),(74,'Kilwa Masoko','Afghanistan','Bal
Chirāgh','9014213506','oboutellier21@i2i.jp'),(75,'Boulsa','Afghanistan','Ghazni','0152952217','hh
awkridge22@twitpic.com'),(76,'Akiachak','Afghanistan','Aībak','3513956231','lcherrie23@liveinter
net.ru'),(77,'Lupin Mine','Afghanistan','Sang-e
Chārak','3959407130','ffalconar24@disqus.com'),(78,'Midland','Afghanistan','Nahrīn','0654253846
','knyles25@dailymotion.com'),(79,'Wunnumin Lake','Afghanistan','Qal‘ah-ye
Fārsī','2200363494','lwheeler26@shop-pro.jp'),(80,'Nambaiyufa','Afghanistan','‘Alāqahdārī Kirān
wa
Munjān','9070451611','mbedlington27@jugem.jp'),(81,'Paragould','Afghanistan','Rustāq','4605819
290','odax28@alexa.com'),(82,'Marabá','Afghanistan','Pul-e
Sangī','1819657043','dpharaoh29@elpais.com'),(83,'Tingwon
Island','Afghanistan','Mandōl','2589813570','nbaildon2a@odnoklassniki.ru'),(84,'Bau Bau-Butung
Island','Afghanistan','Balkh','3563273839','kjanz2b@booking.com'),(85,'Seoul','Afghanistan','Qarqī
n','4256773258','rdetoc2c@weebly.com'),(86,'Florø','Afghanistan','Kai','1845349059','fbrend2d@e
dublogs.org'),(87,'Kamarata','Afghanistan','Jalālābād','9501586715','achamney2e@technorati.com
'),(88,'Caleta
Olivia','Afghanistan','Panjāb','1040007678','rbromley2f@smh.com.au'),(89,'Kadanwari','Afghanista

30
n','Baghlān','0036755206','tlinde2g@cdbaby.com'),(90,'Toowoomba','Afghanistan','Khadīr','99314
79760','hmyring2h@liveinternet.ru'),(91,'Big
Creek','Afghanistan','La‘l','1034851993','gpitceathly2i@imdb.com'),(92,'San José de
Chiquitos','Afghanistan','Fayzabad','4579249542','avasiljevic2j@ocn.ne.jp'),(93,'Manti','Afghanista
n','Maymana','9653312227','rsulland2k@cafepress.com'),(94,'Meru-
Kinna','Afghanistan','Chakaray','2820658849','isnowding2l@icq.com'),(95,'Modesto','Afghanistan','
Pul-e Sangī','6458676964','vrushbury2m@cargocollective.com'),(96,'Saint
John','Afghanistan','Qal‘ah-ye Fārsī','4692650737','cshark2n@studiopress.com'),(97,'Viña Del
Mar','Afghanistan','Nūsay','4223990969','epeggram2o@webeden.co.uk'),(98,'Iaciara','Afghanistan'
,'Khayr Kōṯ','7484171875','mgiraudot2p@blogtalkradio.com'),(99,'Punta del
Este','Afghanistan','Mazār-e
Sharīf','4266788401','dponsford2q@java.com'),(100,'Skövde','Afghanistan','Wuṯahpūr','94790561
94','ajopson2r@icq.com'),(101,'Sequim','Afghanistan','Ḩāfiz̧
Moghul','3276187043','bhabbert2s@cmu.edu'),(102,'Okhotsk','Afghanistan','Anār
Darah','2852043327','mdudhill2t@google.cn'),(103,'Skwentna','Afghanistan','Khayr
Kōṯ','9456083896','gocassidy2u@sciencedaily.com'),(104,'Hong
Kong','Afghanistan','Kandahār','1764087925','rburchell2v@scribd.com'),(105,'Coro','Afghanistan','
Qal‘ah-ye
Fārsī','6519593826','mbeneyto2w@baidu.com'),(106,'Palmas','Afghanistan','Shīnḏanḏ','992571160
6','fblakesley2x@yelp.com'),(107,'Lekoni','Afghanistan','Tsapêraī','9402600612','eharbisher2y@jap
anpost.jp'),(108,NULL,'Afghanistan','Andkhōy','6121536128','hkingsnod2z@newsvine.com'),(109,'
Trieste','Afghanistan','Herāt','6331367160','dhabberjam30@photobucket.com'),(110,'Wendover','
Afghanistan','Asadābād','2416451855','mwipfler31@youku.com'),(111,'El
Daein','Afghanistan','Chahār
Burj','8052535867','cswannick32@cam.ac.uk'),(112,'Cannes','Afghanistan','Baghlān','5171519358',
'eballentime33@psu.edu'),(113,'Ajmer','Afghanistan','Kandahār','0139398732','ntrowill34@spiege
l.de'),(114,NULL,'Afghanistan','Dasht-e
Qal‘ah','8472364550','sawcock35@cbc.ca'),(115,NULL,'Afghanistan','Bāsawul','7538975756','bharn
ett36@businesswire.com'),(116,'Dillingham','Afghanistan','Ārt
Khwājah','7905426815','cwickendon37@jiathis.com'),(117,'Aswan','Afghanistan','Shīnḏanḏ','45633
17837','avampouille38@nbcnews.com'),(118,'Souanke','Afghanistan','Quchanghī','5414917132','rp
urdie39@npr.org'),(119,'Colorado Creek','Afghanistan','Kafir
Qala','8995243414','sdumbrall3a@is.gd'),(120,'Büsum','Afghanistan','Dowr-e
Rabāţ','9225144563','cpreddle3b@census.gov'),(121,'San
Juan','Afghanistan','Khadīr','4703272431','cnoto3c@sohu.com'),(122,'Lawrence','Afghanistan','Qal
a i Naw','9899908924','kfreeburn3d@geocities.jp'),(123,'San Cristóbal','Afghanistan','Markaz-e
Ḩukūmat-e
Darwēshān','0576528242','rbraddon3e@bizjournals.com'),(124,'Andahuaylas','Afghanistan','Khana
bad','2243353776','icorn3f@t.co'),(125,'Aiome','Afghanistan','Paghmān','1876978074','fidle3g@go
ogle.pl');

/*!40000 ALTER TABLE `editorial` ENABLE KEYS */;

UNLOCK TABLES;

31
--

-- Table structure for table `inventario`

--

DROP TABLE IF EXISTS `inventario`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `inventario` (

`idInventario` int DEFAULT NULL,

`idLibro` int DEFAULT NULL,

`idSucursal` int DEFAULT NULL,

`Existencia` int DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `inventario`

--

LOCK TABLES `inventario` WRITE;

/*!40000 ALTER TABLE `inventario` DISABLE KEYS */;

INSERT INTO `inventario` VALUES


(1,1,1,1),(2,2,2,2),(3,3,3,3),(4,4,4,4),(5,5,5,5),(6,6,6,6),(7,7,7,7),(8,8,8,8),(9,9,9,9),(10,10,10,10),(11,
11,11,11),(12,12,12,12),(13,13,13,13),(14,14,14,14),(15,15,15,15),(16,16,16,16),(17,17,17,17),(18,1
8,18,18),(19,19,19,19),(20,20,20,20),(21,21,21,21),(22,22,22,22),(23,23,23,23),(24,24,24,24),(25,25
,25,25),(26,26,26,26),(27,27,27,27),(28,28,28,28),(29,29,29,29),(30,30,30,30),(31,31,31,31),(32,32,
32,32),(33,33,33,33),(34,34,34,34),(35,35,35,35),(36,36,36,36),(37,37,37,37),(38,38,38,38),(39,39,3
9,39),(40,40,40,40),(41,41,41,41),(42,42,42,42),(43,43,43,43),(44,44,44,44),(45,45,45,45),(46,46,46
,46),(47,47,47,47),(48,48,48,48),(49,49,49,49),(50,50,50,50),(51,51,51,51),(52,52,52,52),(53,53,53,
53),(54,54,54,54),(55,55,55,55),(56,56,56,56),(57,57,57,57),(58,58,58,58),(59,59,59,59),(60,60,60,6
0),(61,61,61,61),(62,62,62,62),(63,63,63,63),(64,64,64,64),(65,65,65,65),(66,66,66,66),(67,67,67,67
),(68,68,68,68),(69,69,69,69),(70,70,70,70),(71,71,71,71),(72,72,72,72),(73,73,73,73),(74,74,74,74),
(75,75,75,75),(76,76,76,76),(77,77,77,77),(78,78,78,78),(79,79,79,79),(80,80,80,80),(81,81,81,81),(

32
82,82,82,82),(83,83,83,83),(84,84,84,84),(85,85,85,85),(86,86,86,86),(87,87,87,87),(88,88,88,88),(8
9,89,89,89),(90,90,90,90),(91,91,91,91),(92,92,92,92),(93,93,93,93),(94,94,94,94),(95,95,95,95),(96
,96,96,96),(97,97,97,97),(98,98,98,98),(99,99,99,99),(100,100,100,100),(101,101,101,101),(102,10
2,102,102),(103,103,103,103),(104,104,104,104),(105,105,105,105),(106,106,106,106),(107,107,1
07,107),(108,108,108,108),(109,109,109,109),(110,110,110,110),(111,111,111,111),(112,112,112,
112),(113,113,113,113),(114,114,114,114),(115,115,115,115),(116,116,116,116),(117,117,117,117
),(118,118,118,118),(119,119,119,119),(120,120,120,120),(121,121,121,121),(122,122,122,122),(1
23,123,123,123),(124,124,124,124),(125,125,125,125);

/*!40000 ALTER TABLE `inventario` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `libro`

--

DROP TABLE IF EXISTS `libro`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `libro` (

`idLibro` int DEFAULT NULL,

`titulo` varchar(50) DEFAULT NULL,

`autor` varchar(50) DEFAULT NULL,

`ciudadEdicion` varchar(50) DEFAULT NULL,

`precio` varchar(50) DEFAULT NULL,

`idEditorial` int DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `libro`

--

33
LOCK TABLES `libro` WRITE;

/*!40000 ALTER TABLE `libro` DISABLE KEYS */;

INSERT INTO `libro` VALUES (1,'Piccadilly','Trescha','Si Thep','$5.22',1),(2,'Impy\'s


Island','Lian','Ouagadougou','$6.91',2),(3,'Wild One, The','Bernie','Rtyně v
Podkrkonoší','$5.97',3),(4,'3 Backyards','Charlena','Cihurip Satu','$3.04',4),(5,'Harry +
Max','Roz','Valinhos','$8.91',5),(6,'The Deep Six','Darda','Fyllingsdalen','$7.84',6),(7,'Crimson Wing:
Mystery of the Flamingos, The','Carma','San Rafael','$3.73',7),(8,'What We Do in the
Shadows','Randee','Palmerston North','$5.42',8),(9,'Men to
Kiss','Gregorio','Sala','$2.21',9),(10,'Maniac
Cop','Trescha','Novocheboksarsk','$6.96',10),(11,'Strictly
Ballroom','Mercie','Keratéa','$9.86',11),(12,'Damn
Yankees!','Emilia','Pokrzywnica','$8.97',12),(13,'Coherence','Ruprecht','Ndungu','$5.86',13),(14,'Un
known Soldier, The (Unbekannte Soldat, Der)','Oralla','Steinkjer','$5.82',14),(15,'Father of My
Children, Mohad','Aube','Wairiang','$6.01',15),(16,'Batman: Mystery of the
Batwoman','Noreen','Zhangye','$9.47',16),(17,'PTU','Meier','Stockholm','$0.30',17),(18,'Wasp
Woman, The','Hobey','Tebon','$8.48',18),(19,'Cube
Zero','Staford','Bagaces','$3.01',19),(20,'Hercules','Witty','Delicias','$5.68',20),(21,'Cat in the Hat,
The','Garfield','Gose','$1.83',21),(22,'Spiderwick Chronicles,
The','Cordy','Wangjiaping','$0.18',22),(23,'Igby Goes Down','Abby','Nueva
Guinea','$7.23',23),(24,'American Addict','Lynelle','Xinyu','$8.93',24),(25,'Geek
Charming','Carissa','Kushnytsya','$2.02',25),(26,'Trailer Park
Boys','Iolanthe','Wenjī','$6.70',26),(26,'Trailer Park','Iolanthe','Wenjī','$6.70',26),(27,'Sandra of a
Thousand Delights
','Matthiew','Gongnong','$5.57',27),(28,'Aria','Chas','Nantes','$5.09',28),(29,'Terror,
The','Eadith','Akhaldaba','$7.76',29),(30,'Surf\'s
Up','Edd','Canguaretama','$1.89',30),(31,'Sniper','Atlante','Batobato','$6.88',31),(32,'Internet\'s
Own Boy: The Story of Aaron Swartz, The','Alexis','Gapyeong','$4.81',32),(33,'Bravados,
The','Lila','Leduc','$0.51',33),(34,'English Teacher, The','Jemima','Loureiro','$8.27',34),(35,'Valerie
and Her Week of Wonders
','Brittany','Sidem','$3.01',35),(36,'Rosenstrasse','Alina','Sukadana','$9.22',36),(37,'Beyond The
Hills','Cristian','San Pablo','$3.54',37),(38,'Delta','Susann','Grenoble','$1.03',38),(39,'One Man
Against the Organization','Addie','Buenaventura','$7.14',39),(40,'For My
Father','Christoph','Apóstoles','$0.14',40),(41,'Long Ride Home, The','Giulia','La
Esperanza','$6.38',41),(42,'Love Me or Leave Me','Clywd','Kamiichi','$0.28',42),(43,'Dancing
Lady','Noelle','Osogbo','$3.41',43),(44,'Brother Bear 2','Lettie','Novaya
Usman’','$9.97',44),(45,'Four Sided Triangle','Shandy','Cagmanaba','$4.47',45),(46,'Under
Capricorn','Rosanna','Chongqing','$6.09',46),(47,'Cemetery
Junction','Mayne','Energodar','$9.24',47),(48,'Harmful Insect','Barry','Klimontów','$9.76',48),(49,'6
Bullets','Brendis','Dul’durga','$6.04',49),(50,'Century of the Self, The','Olivie','La
Paz','$5.03',50),(51,'The Suspenseful World of
Thrillers','Fredric','Gwangtan','$5.84',51),(52,'Transfer','Erna','Brejo Santo','$2.77',52),(53,'For My
Father','Yetty','Bronkhorstspruit','$9.85',53),(54,'I\'ve Loved You So

34
Long','Nikola','Oleksandrivka','$2.36',54),(55,'Barefoot Executive,
The','Roldan','Gangkou','$3.22',55),(56,'Black Scorpion,
The','Thomasa','Agago','$5.05',56),(57,'Vacancy 2: The First Cut','Franky','Vista
Hermosa','$0.70',57),(58,'Hierro
','Roderick','Eiriz','$8.55',58),(59,'Rudy','Tanny','Simitli','$9.15',59),(60,'Siam
Sunset','Buddie','Marabahan','$1.80',60),(61,'Love\'s Deadly Triangle: The Texas Cadet
Murder','Lorrin','Soledade','$9.60',61),(62,'Disappearance of Alice Creed,
The','Hartwell','Huanuni','$7.21',62),(63,'Iron Eagle II','Alvinia','Dārchulā','$3.15',63),(64,'Rat Pfink
a Boo Boo','Penn','Paris 14','$4.52',64),(65,'Halloweentown
High','Blancha','Domaradz','$5.67',65),(66,'Jack','Zara','Brinkmann','$7.93',66),(67,'Cutthroat
Island','Dilan','Cipanas','$7.72',67),(68,'Bad Teacher','Garnette','Saint-Bruno-de-
Montarville','$6.92',68),(69,'Mod Squad, The','Bunnie','Venta','$2.57',69),(70,'Barber,
The','Marthe','Ciputat','$2.24',70),(71,'O Lucky Man!','Reed','Świdnica','$3.31',71),(72,'Edison
Force (a.k.a. Edison)','Spence','Fria','$3.60',72),(73,'Gate of Hell
(Jigokumon)','Connor','Paungde','$5.85',73),(74,'Dr. Jekyll and Mr.
Hyde','Anatola','Zhirnovsk','$7.96',74),(75,'Salut
cousin!','Megan','Bystra','$3.85',75),(76,'Robocroc','Rosalinde','Ōyama','$3.30',76),(77,'No
Direction Home: Bob Dylan','Tamara','Huangpu','$8.92',77),(78,'Have Rocket, Will
Travel','Ariela','Leipzig','$4.97',78),(79,'Enforcer, The','Lenci','Bala
Murghab','$1.51',79),(80,'Crashing','Clarette','Sobral','$3.72',80),(81,'Amazing Johnathan: Wrong
on Every Level','Christyna','Bataiporã','$5.76',81),(82,'Love Story
2050','Herminia','Velille','$6.99',82),(83,'Teheran 43: Spy
Ring','Uriah','Houjia','$9.91',83),(84,'Burnt by the Sun 2','Bat','Malasugui','$7.30',84),(85,'El
Dorado','Ira','Hošťka','$8.47',85),(86,'Sense of History, A','Kizzee','Segovia','$7.48',86),(87,'Foreign
Correspondent','Claudius','Chalandrítsa','$6.46',87),(88,'Flamingo
Road','Fayette','Carregado','$9.62',88),(89,'It Rains in My
Village','Salvidor','Luisiana','$9.88',89),(90,'Mom and Dad Save the
World','Sada','Pandansari','$0.08',90),(91,'Loneliness of the Long Distance Runner,
The','Karlens','Selaphum','$8.28',91),(92,'Prize of Peril, The
Purgue','Traci','Altanbulag','$0.00',92),(93,'Ten Little
Indians','Sheelah','Padangbatung','$1.62',93),(94,'Felicia\'s
Journey','Katharine','Xilu','$7.51',94),(95,'Six Shooter','Richardo','Zwolle','$9.30',95),(96,'Grave
Encounters','Mose','Zhuji','$0.51',96),(97,'Layer Cake','Galina','Babahoyo','$1.14',97),(98,'Very Bad
Things','Barnie','Issoudun','$9.80',98),(99,'Singh Is Kinng','Vanda','Jardín','$1.89',99),(100,'Garçu,
Le','Valina','Valladolid','$5.60',100),(101,'Thawing Out
','Massimiliano','Kedian','$8.77',101),(102,'Grass Harp,
The','Roselia','Pingzhuang','$4.81',102),(103,'Babylon 5: The Legend of the Rangers','Micheal','Buta
Ranquil','$1.87',103),(104,'World Without End','Karalee','Bergen','$5.59',104),(105,'Elle: A Modern
Cinderella
Tale','Thane','Palebunan','$1.13',105),(106,'Cookie','Drusy','Yilkiqi','$7.75',106),(107,'Material
Girls','Haslett','Ondangwa','$9.23',107),(108,'Xala','Daphna','Huangxikou','$7.23',108),(109,'Hobbit:
The Desolation of Smaug, The','Chrissy','Kalahang','$6.55',109),(110,'Love Letter
','Verena','Linglong','$5.66',110),(111,'Moving Violations','Germain','Khóra','$1.30',111),(112,'Bhaji
on the Beach','Mikey','Orhei','$1.55',112),(113,'Windmill Movie,

35
The','Leticia','Nashville','$4.69',113),(114,'The Great
Gatsby','Jemima','Keyinhe','$1.33',114),(115,'Hannah
Arendt','Bartholomew','Bulubrangsi','$1.28',115),(116,'Yolki
2','Dorie','Horten','$1.64',116),(117,'Children of the
Corn','Saxe','Franca','$8.27',117),(118,'Flicker','Lisette','Burmakino','$0.16',118),(119,'D.L. Hughley:
Reset','Hillary','Porto Velho','$6.54',119),(120,'Bouncing
Babies','Jillian','Compiègne','$7.00',120),(121,'Great Lie, The','Ethe','Cañada de
Gómez','$9.04',121),(122,'Bon Voyage, Charlie
Brown','Georgina','Bundoran','$3.77',122),(123,'Sunrise at Campobello','Arluene','Kota
Bharu','$4.49',123),(124,'Cesar & Rosalie','Lonny','Santi Suk','$0.28',124),(125,'Swimsuit Issue, The
Purgue 2','Cecile','Rainis','$1.26',125);

/*!40000 ALTER TABLE `libro` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `sucursal`

--

DROP TABLE IF EXISTS `sucursal`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `sucursal` (

`idSucursal` int DEFAULT NULL,

`Sucursal` varchar(50) DEFAULT NULL,

`direccion` varchar(50) DEFAULT NULL,

`ciudad` varchar(50) DEFAULT NULL,

`telefono` varchar(50) DEFAULT NULL,

`email` varchar(50) DEFAULT NULL

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

36
-- Dumping data for table `sucursal`

--

LOCK TABLES `sucursal` WRITE;

/*!40000 ALTER TABLE `sucursal` DISABLE KEYS */;

INSERT INTO `sucursal` VALUES (1,'Skippad','Colombia','Ríohacha','531-365-


0099','wslaight0@thetimes.co.uk'),(2,'Yamia','China','Xindi','431-510-
0332','rendricci1@360.cn'),(3,'Oyoba','Indonesia','Pulorejo','286-498-
5657','gtams2@fotki.com'),(4,'Shuffledrive','Panama','Boca de Parita','805-590-
5175','mogavin3@time.com'),(5,'Avaveo','United States','Madison','608-284-
9267','ccordero4@creativecommons.org'),(6,'Brainverse','China','Qianjiang','395-629-
0626','jbruneau5@wix.com'),(7,'Yabox','Ethiopia','Finote Selam','388-891-
2402','alowson6@ifeng.com'),(8,'Jabbertype','United States','Beaverton','503-475-
5863','ebettinson7@mtv.com'),(9,'Dabtype','Indonesia','Kuanfeu','698-847-
3220','wmacginlay8@mail.ru'),(10,'Youbridge','Brazil','Itapetininga','487-903-
2469','wisland9@webeden.co.uk'),(11,'Eimbee','Uruguay','Belén','601-463-
8543','rmortimera@woothemes.com'),(12,'Wordpedia','Lebanon','Tyre','584-357-
9603','fabrianib@cisco.com'),(13,'Topicstorm','Syria','Darkūsh','546-199-
1686','aorsic@edublogs.org'),(14,'Kwinu','Argentina','Villa Ocampo','409-313-
7424','nbratcherd@addthis.com'),(15,'Livetube','Moldova','Chiţcani','598-625-
4543','ktouzeye@salon.com'),(16,'Roombo','Latvia','Ainaži','972-652-
6445','tgriffithef@tinypic.com'),(17,'Trilith','Japan','Kushiro','580-405-
7834','aberkleyg@cisco.com'),(18,'Bubblebox','Serbia','Ćuprija','786-245-
9185','mfishlyh@patch.com'),(19,'Skipstorm','Norway','Arendal','993-555-
7100','hvirri@xrea.com'),(20,'Thoughtstorm','China','Shuyuan','217-491-
0769','hfarriesj@tumblr.com'),(21,'Shuffletag','Mexico','La Gloria','695-272-
0797','cmatysk@vinaora.com'),(22,'Tekfly','Peru','Ambar','206-340-
5874','bdedaml@imageshack.us'),(23,'Shufflester','Philippines','Dapdapan','894-798-
0277','ntallmanm@wunderground.com'),(24,'Zazio','Brazil','Recreio','411-583-
5114','kkaliszn@va.gov'),(25,'Quire','China','Xiaochi','338-845-
7796','cciobotaruo@gmpg.org'),(26,'Pixope','Indonesia','Pergan','170-895-
2071','atarttp@abc.net.au'),(27,'Divanoodle','Egypt','Idfu','226-696-
2540','bwarburtonq@ocn.ne.jp'),(28,'Meeveo','China','Renhe','744-528-
3656','ptrathanr@pagesperso-orange.fr'),(29,'Thoughtbeat','Poland','Naprawa','931-899-
6774','ttremayles@cbc.ca'),(30,'Layo','China','Yingtan','195-839-
6794','bkellart@wufoo.com'),(31,'Oodoo','Russia','Lyskovo','706-921-
5219','ukittmanu@jigsy.com'),(32,'Edgeclub','Philippines','Bautista','344-867-
7231','arudeforthv@usa.gov'),(33,'Zoomcast','Thailand','Ban Thaen','673-796-
6468','mbamburyw@tinypic.com'),(34,'JumpXS','China','Xiluodu','847-477-
6579','arunhamx@hexun.com'),(35,'Photospace','Brazil','Breves','510-790-
3916','trimbaulty@tinyurl.com'),(36,'Voonder','Indonesia','Sekarjalak','471-924-
9581','rasipenkoz@edublogs.org'),(37,'Kwinu','Indonesia','Ngujung','853-591-

37
8985','dbrezlaw10@flavors.me'),(38,'InnoZ','United States','Newark','201-291-
6609','rgoing11@pbs.org'),(39,'Skiba','United States','Lafayette','337-238-5372','ccana12@t-
online.de'),(40,'Yakijo','Greece','Sosándra','290-189-
1732','dyurin13@elpais.com'),(41,'Quaxo','Bahamas','Cockburn Town','454-979-
5326','imartensen14@angelfire.com'),(42,'Brightbean','Tanzania','Kibiti','319-910-
8553','dtallant15@netlog.com'),(43,'Pixonyx','Peru','Longotea','551-500-
8105','grozsa16@fastcompany.com'),(44,'Camido','China','Baiyun','393-177-
7898','nreast17@clickbank.net'),(45,'Fivebridge','Guatemala','Chicacao','636-693-
1350','rribchester18@sbwire.com'),(46,'Omba','Slovenia','Celje','895-545-
4667','cdavidovits19@mac.com'),(47,'Skynoodle','Bangladesh','Thākurgaon','905-526-
0274','chawkswood1a@npr.org'),(48,'Topiclounge','Bulgaria','Vidin','444-626-
9966','dhart1b@netscape.com'),(49,'Demizz','Indonesia','Wonosari','225-398-
0847','mgeorgel1c@hp.com'),(50,'Realfire','China','Dongshi','241-720-
1983','kgiorgioni1d@spiegel.de'),(51,'Jayo','China','Xiadu','844-885-
0600','uantonsson1e@hc360.com'),(52,'Yakitri','Indonesia','Cimuncang','711-774-
2621','tevill1f@geocities.com'),(53,'Pixope','China','Huayang','189-482-
0869','hissit1g@columbia.edu'),(54,'Linklinks','Finland','Valkeakoski','146-293-
5623','kclother1h@nba.com'),(55,'Twimbo','Indonesia','Oja','477-767-
3107','lgoodrich1i@alibaba.com'),(56,'Edgeclub','Dominican Republic','Bayaguana','409-282-
7053','cisacsson1j@1688.com'),(57,'Jabbertype','Portugal','Bairro de Santo António','661-359-
6773','bmatfin1k@yahoo.com'),(58,'Jamia','Brazil','Ubá','628-149-
5525','mpettko1l@nbcnews.com'),(59,'Zoomzone','Russia','Yekaterinovka','701-117-
4337','tpetett1m@elpais.com'),(60,'Lajo','Indonesia','Lewolere','214-175-
1908','nlepage1n@columbia.edu'),(61,'Oodoo','China','Daitou','977-896-
4041','cpeddel1o@disqus.com'),(62,'Skyble','China','Tiecun','755-858-
5458','bdonnett1p@ebay.com'),(63,'Jaxworks','Philippines','Gocoton','235-559-
4205','mglazzard1q@360.cn'),(64,'Gabspot','Indonesia','Cikupa','218-458-
1576','tfishpond1r@51.la'),(65,'Jamia','Japan','Asaka','260-533-
2371','ldhooghe1s@hao123.com'),(66,'Eayo','Indonesia','Kumanis','248-612-
1825','saffleck1t@zimbio.com'),(67,'Dabvine','China','Yaohua','567-996-
4524','gprentice1u@woothemes.com'),(68,'Meeveo','Tanzania','Bugene','148-112-
0522','astandidge1v@ustream.tv'),(69,'Midel','China','Liqiao','966-998-
8978','kbenaharon1w@vistaprint.com'),(70,'Vinte','Georgia','Lagodekhi','207-254-
9837','sgore1x@bloglines.com'),(71,'Skalith','Albania','Përmet','839-285-
2020','rmccritchie1y@webs.com'),(72,'Skajo','China','Yangchun','856-436-
8853','rfalloon1z@loc.gov'),(73,'BlogXS','Indonesia','Urung','115-424-
2595','thaglington20@hugedomains.com'),(74,'Yodel','Vietnam','Thị Trấn Yên Ninh','291-300-
0007','smackean21@istockphoto.com'),(75,'Blogtag','Greece','Évosmos','647-836-
2393','blapadula22@princeton.edu'),(76,'Trudeo','Honduras','Chotepe','652-729-
4077','kdowrey23@msu.edu'),(77,'Babbleblab','France','Villeurbanne','193-451-
2890','dbattye24@home.pl'),(78,'Blogspan','Uruguay','Las Toscas','309-509-
0324','boverstone25@tinypic.com'),(79,'Ntag','Brazil','Monte Aprazível','638-578-
7666','gjedrzejczyk26@zdnet.com'),(80,'Buzzdog','Philippines','Inayauan','198-198-
8389','rscriven27@blog.com'),(81,'Blognation','Thailand','Srinagarindra','588-346-

38
6171','khamner28@indiatimes.com'),(82,'Jayo','Kazakhstan','Belūsovka','920-655-
1398','sespinay29@tripod.com'),(83,'Zoomdog','Mexico','Emiliano Zapata','255-572-
5929','ndahle2a@ow.ly'),(84,'Bluezoom','China','Jiangdong','575-795-3276','hcarlet2b@cocolog-
nifty.com'),(85,'Feednation','Indonesia','Bangrat','434-696-
0783','srepp2c@sphinn.com'),(86,'Yodoo','Finland','Saukkola','636-110-
9992','cfrier2d@artisteer.com'),(87,'Meevee','Indonesia','Grati Satu','620-556-
2948','fscallan2e@marriott.com'),(88,'Chatterbridge','Guinea','Pita','605-326-
3405','kkuscha2f@unicef.org'),(89,'Trilia','Mexico','Benito Juarez','666-503-
3885','idace2g@wp.com'),(90,'Pixoboo','Poland','Krynki','577-170-
2763','tagar2h@un.org'),(91,'Brainlounge','Tunisia','Manouba','765-990-
5930','abickerton2i@gravatar.com'),(92,'Thoughtbridge','Tanzania','Sikonge','425-597-
1647','twillshear2j@wsj.com'),(93,'Jaxnation','Mexico','Revolucion','710-859-
1916','qtupling2k@jalbum.net'),(94,'Yabox','France','Montpellier','258-837-
3875','credler2l@census.gov'),(95,'Vitz','China','Rongwo','434-354-
8828','ccorah2m@marketwatch.com'),(96,'Pixoboo','China','Baixi','679-198-
4957','tsammes2n@tmall.com'),(97,'Photobug','China','Dongdajie','109-568-
2804','astiling2o@ebay.com'),(98,'Yozio','Albania','Hot','110-940-
6033','pmuscott2p@simplemachines.org'),(99,'Twimbo','Indonesia','Bantar Tengah','700-945-
7564','nodare2q@infoseek.co.jp'),(100,'Divanoodle','Japan','Ōkuchi','618-180-
8856','sjarrold2r@artisteer.com'),(101,'Babbleset','Indonesia','Simpang','821-575-
2959','gdecleen2s@histats.com'),(102,'Zoonoodle','Sweden','Helsingborg','625-480-
8372','lgreeves2t@sciencedirect.com'),(103,'Digitube','Croatia','Ljubešćica','823-655-
7449','rcastillou2u@t-online.de'),(104,'Browsedrive','Honduras','San José de Río Tinto','492-813-
2022','lstockdale2v@wp.com'),(105,'Kare','Philippines','Nama','714-693-
7604','atwitty2w@scribd.com'),(106,'Thoughtstorm','Sweden','Umeå','795-223-
6172','btrillo2x@examiner.com'),(107,'Voonte','New Zealand','Waihi Beach','504-528-
7469','mbarringer2y@tinypic.com'),(108,'Oyonder','Russia','Pechenga','677-909-
0430','wmcmillian2z@washington.edu'),(109,'Yombu','Japan','Nishiwaki','786-531-
8434','bsaphin30@latimes.com'),(110,'Miboo','China','Dongyong','829-311-
1059','ahenri31@hc360.com'),(111,'Kanoodle','Russia','Debesy','613-737-
5187','pmarcussen32@dropbox.com'),(112,'Avamm','Indonesia','Mojokerto','486-284-
5828','ostert33@ox.ac.uk'),(113,'Gigazoom','China','Lingyuan','175-819-
0100','jfarncomb34@unblog.fr'),(114,'Digitube','Portugal','Gondar','318-484-
1746','ciuorio35@dailymotion.com'),(115,'Yodoo','Jamaica','Cambridge','500-442-
8299','msiege36@jugem.jp'),(116,'Chatterpoint','Argentina','Santa Rosa','925-414-
0406','ecooney37@cyberchimps.com'),(117,'Minyx','France','La Valette-du-Var','656-561-
4503','esumpton38@topsy.com'),(118,'BlogXS','China','Yuanping','419-170-
5116','wfardo39@unc.edu'),(119,'Skyble','Philippines','Minuyan','261-823-
8530','kgoldspink3a@icio.us'),(120,'Twitterbeat','Philippines','San Jose','710-911-
7165','tfawloe3b@about.me'),(121,'Thoughtbeat','United States','Washington','202-828-
1804','wfisbburne3c@ted.com'),(122,'Ainyx','Germany','Freiburg im Breisgau','970-783-
1353','bfetherby3d@quantcast.com'),(123,'Realblab','China','Liuge','156-537-
5023','ghamberston3e@cyberchimps.com'),(124,'Browsebug','Niger','Mirriah','992-883-

39
7312','jpaynter3f@wix.com'),(125,'Oyoyo','Yemen','Qaryat al Qābil','823-625-
7914','wdudny3g@gov.uk');

/*!40000 ALTER TABLE `sucursal` ENABLE KEYS */;

UNLOCK TABLES;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2023-03-19 10:22:42

DB3
-- MySQL dump 10.13 Distrib 8.0.32, for Linux (x86_64)

--

-- Host: localhost Database: DB3

-- ------------------------------------------------------

-- Server version 8.0.32-0ubuntu0.20.04.2

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;

/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;

/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;

/*!50503 SET NAMES utf8mb4 */;

/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;

/*!40103 SET TIME_ZONE='+00:00' */;

40
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;

/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS,


FOREIGN_KEY_CHECKS=0 */;

/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;

/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--

-- Table structure for table `Alumno`

--

DROP TABLE IF EXISTS `Alumno`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Alumno` (

`id` int NOT NULL,

`nombre` varchar(50) DEFAULT NULL,

`apellido` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Alumno`

--

LOCK TABLES `Alumno` WRITE;

/*!40000 ALTER TABLE `Alumno` DISABLE KEYS */;

INSERT INTO `Alumno` VALUES


(1,'Harlen','Claibourn'),(2,'Ashleigh','Drover'),(3,'Gearard','Cheeney'),(4,'Betteanne','Hargrove'),(5,'
Jose','Matsell'),(6,'Nora','Vassie'),(7,'Binny','Kerrich'),(8,'Adolphe','Riddle'),(9,'Torrie','Haveline'),(10

41
,'Alvira','Harbour'),(11,'Ernest','Ryan'),(12,'Creight','Fanton'),(13,'Damita','Stevenson'),(14,'Inga','Ch
eston'),(15,'Mirella','Vaadeland'),(16,'Corena','Wesley'),(17,'Codie','Walczynski'),(18,'Kurtis','Petteg
ree'),(19,'Francklin','Rossbrooke'),(20,'Toby','MacCartney'),(21,'Greer','Chiese'),(22,'Katie','Codling'
),(23,'Jerad','Stainland'),(24,'Lacy','Granham'),(25,'Fae','Cullivan'),(26,'Nicko','Binestead'),(27,'Fran',
'Marcussen'),(28,'Glenn','Proschke'),(29,'Magdaia','Portt'),(30,'Wainwright','Yakobowitz'),(31,'Brok'
,'Franzke'),(32,'Ardelis','Bruyntjes'),(33,'Kev','Feldstern'),(34,'Jackelyn','Timbridge'),(35,'Phillida','Ta
dd'),(36,'Candi','Gott'),(37,'Denys','Godain'),(38,'Imogene','Dibben'),(39,'Sondra','Gleed'),(40,'Dur','
Lehrian'),(41,'Stoddard','Scade'),(42,'Olly','Moyler'),(43,'Obidiah','Jakoviljevic'),(44,'Sela','Moutray
Read'),(45,'Barbara-
anne','O\'Shaughnessy'),(46,'Culley','Dongles'),(47,'Julia','Mulheron'),(48,'Glen','Elnough'),(49,'Rick
y','Filov'),(50,'Tatiania','Syvret'),(51,'Ludovika','Paslow'),(52,'Fredra','Quiney'),(53,'Alexio','Latan'),(
54,'Sula','Ruspine'),(55,'Cheslie','Nucator'),(56,'Briant','Luparti'),(57,'Derek','Damrel'),(58,'Tammar
a','Harcourt'),(59,'Cassandra','MacCafferky'),(60,'Bernard','Mesant'),(61,'Kaleena','Delacourt'),(62,'
Constance','Darlow'),(63,'Carlen','Maun'),(64,'Leslie','Sibbs'),(65,'Nealon','Yarrington'),(66,'Selie','O
very'),(67,'Reggis','McElvogue'),(68,'Ardelia','Gommey'),(69,'Hatti','Everingham'),(70,'West','McNe
e'),(71,'Patrice','MacVay'),(72,'Tam','Whitwell'),(73,'Noah','Satterthwaite'),(74,'Boothe','Hullock'),(
75,'Reta','Rodell'),(76,'Susanna','Ruddom'),(77,'Claudius','Riglar'),(78,'Jessy','Devenny'),(79,'Wallas'
,'Daft'),(80,'Godart','Sazio'),(81,'Hillyer','Rodear'),(82,'Stanwood','Ephgrave'),(83,'Lynnett','Eplate'),
(84,'Tab','Tebboth'),(85,'Felicia','Phizakarley'),(86,'Corny','Dobbings'),(87,'Arleyne','Inkpen'),(88,'Cy
mbre','Wrettum'),(89,'Armstrong','Freathy'),(90,'Ogdan','Strange'),(91,'Anni','Boise'),(92,'Steffen','
Feldfisher'),(93,'Craggie','Palay'),(94,'Ronalda','Bernuzzi'),(95,'Bar','Larrat'),(96,'Ruben','McKeggie'),
(97,'Rani','Sambath'),(98,'Fritz','Handscomb'),(99,'Vanny','Mesnard'),(100,'Deni','Loughren'),(101,'E
ulalie','Baudin'),(102,'Wernher','Chinnock'),(103,'Vevay','Overal'),(104,'Bink','Shovelton'),(105,'Alex
i','Shoutt'),(106,'Kerrie','Moulson'),(107,'Hersch','Gypson'),(108,'Jehanna','Leatherland'),(109,'Mich
ale','de
Quincey'),(110,'Darryl','Taylerson'),(111,'Filippa','Groundwator'),(112,'Berri','Bartelli'),(113,'Darcey'
,'Luis'),(114,'Maryrose','Duker'),(115,'Thorin','Oen'),(116,'Jeannie','Skupinski'),(117,'Lawton','Camp
lejohn'),(118,'Granville','Tatteshall'),(119,'Farlay','Larrosa'),(120,'Prince','McIntee'),(121,'Virgie','Jel
lico'),(122,'Marcellina','Braime'),(123,'Ella','Filpi'),(124,'Rebecca','Rouke');

/*!40000 ALTER TABLE `Alumno` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Examen`

--

DROP TABLE IF EXISTS `Examen`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

42
CREATE TABLE `Examen` (

`id_ex` int NOT NULL,

`materia` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id_ex`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Examen`

--

LOCK TABLES `Examen` WRITE;

/*!40000 ALTER TABLE `Examen` DISABLE KEYS */;

INSERT INTO `Examen` VALUES (1,'Research and Development'),(2,'Research and


Development'),(3,'Human Resources'),(4,'Product
Management'),(5,'Sales'),(6,'Services'),(7,'Engineering'),(8,'Marketing'),(9,'Legal'),(10,'Marketing'),(
11,'Services'),(12,'Product Management'),(13,'Support'),(14,'Business
Development'),(15,'Sales'),(16,'Support'),(17,'Accounting'),(18,'Legal'),(19,'Support'),(20,'Research
and Development'),(21,'Sales'),(22,'Engineering'),(23,'Legal'),(24,'Product
Management'),(25,'Marketing'),(26,'Sales'),(27,'Human
Resources'),(28,'Support'),(29,'Marketing'),(30,'Marketing'),(31,'Research and
Development'),(32,'Product
Management'),(33,'Services'),(34,'Services'),(35,'Engineering'),(36,'Services'),(37,'Human
Resources'),(38,'Sales'),(39,'Research and
Development'),(40,'Support'),(41,'Services'),(42,'Sales'),(43,'Sales'),(44,'Legal'),(45,'Product
Management'),(46,'Product Management'),(47,'Product Management'),(48,'Research and
Development'),(49,'Product
Management'),(50,'Accounting'),(51,'Sales'),(52,'Marketing'),(53,'Marketing'),(54,'Business
Development'),(55,'Human Resources'),(56,'Accounting'),(57,'Training'),(58,'Human
Resources'),(59,'Legal'),(60,'Support'),(61,'Business Development'),(62,'Engineering'),(63,'Business
Development'),(64,'Human Resources'),(65,'Marketing'),(66,'Product
Management'),(67,'Support'),(68,'Business Development'),(69,'Business
Development'),(70,'Accounting'),(71,'Support'),(72,'Accounting'),(73,'Sales'),(74,'Engineering'),(75,'
Research and Development'),(76,'Sales'),(77,'Product
Management'),(78,'Sales'),(79,'Marketing'),(80,'Business Development'),(81,'Product
Management'),(82,'Business
Development'),(83,'Services'),(84,'Sales'),(85,'Accounting'),(86,'Training'),(87,'Engineering'),(88,'Le

43
gal'),(89,'Sales'),(90,'Support'),(91,'Marketing'),(92,'Marketing'),(93,'Marketing'),(94,'Sales'),(95,'H
uman Resources'),(96,'Business Development'),(97,'Legal'),(98,'Sales'),(99,'Sales'),(100,'Research
and Development'),(101,'Product
Management'),(102,'Marketing'),(103,'Legal'),(104,'Engineering'),(105,'Support'),(106,'Sales'),(107,
'Legal'),(108,'Business Development'),(109,'Engineering'),(110,'Product
Management'),(111,'Training'),(112,'Training'),(113,'Engineering'),(114,'Services'),(115,'Training'),(
116,'Product Management'),(117,'Training'),(118,'Engineering'),(119,'Human
Resources'),(120,'Marketing'),(121,'Product Management'),(122,'Research and
Development'),(123,'Legal'),(124,'Business Development'),(125,'Human Resources');

/*!40000 ALTER TABLE `Examen` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Materia`

--

DROP TABLE IF EXISTS `Materia`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Materia` (

`id_met` int NOT NULL,

`materia` varchar(50) DEFAULT NULL,

`hora` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id_met`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Materia`

--

LOCK TABLES `Materia` WRITE;

44
/*!40000 ALTER TABLE `Materia` DISABLE KEYS */;

INSERT INTO `Materia` VALUES (1,'Research and Development','6:37 PM'),(2,'Engineering','2:30


PM'),(3,'Accounting','10:52 AM'),(4,'Product Management','7:54 AM'),(5,'Accounting','6:21
PM'),(6,'Sales','10:06 AM'),(7,'Business Development','7:21 PM'),(8,'Research and
Development','6:21 PM'),(9,'Human Resources','4:27 PM'),(10,'Support','4:02 PM'),(11,'Human
Resources','12:11 PM'),(12,'Sales','7:41 PM'),(13,'Accounting','11:26 AM'),(14,'Accounting','1:21
PM'),(15,'Engineering','7:22 PM'),(16,'Legal','2:35 PM'),(17,'Support','3:07 PM'),(18,'Research and
Development','6:03 PM'),(19,'Training','8:51 AM'),(20,'Research and Development','9:55
AM'),(21,'Business Development','11:32 AM'),(22,'Product Management','8:46
AM'),(23,'Training','3:43 PM'),(24,'Business Development','8:46 AM'),(25,'Research and
Development','5:44 PM'),(26,'Business Development','4:25 PM'),(27,'Product Management','2:18
PM'),(28,'Research and Development','7:16 PM'),(29,'Training','11:01 AM'),(30,'Support','8:46
AM'),(31,'Marketing','6:03 PM'),(32,'Product Management','10:49 AM'),(33,'Services','6:42
PM'),(34,'Services','1:54 PM'),(35,'Engineering','9:26 AM'),(36,'Services','4:15
PM'),(37,'Accounting','7:47 PM'),(38,'Sales','10:24 AM'),(39,'Product Management','6:27
PM'),(40,'Marketing','5:52 PM'),(41,'Product Management','9:45 AM'),(42,'Marketing','10:14
AM'),(43,'Engineering','4:53 PM'),(44,'Sales','9:31 AM'),(45,'Engineering','8:36
AM'),(46,'Sales','9:45 AM'),(47,'Human Resources','7:43 PM'),(48,'Marketing','11:02
AM'),(49,'Human Resources','6:47 PM'),(50,'Support','7:58 AM'),(51,'Engineering','3:46
PM'),(52,'Training','2:51 PM'),(53,'Support','2:50 PM'),(54,'Marketing','3:05
PM'),(55,'Marketing','6:00 PM'),(56,'Research and Development','2:30 PM'),(57,'Research and
Development','8:59 AM'),(58,'Services','9:47 AM'),(59,'Business Development','1:01
PM'),(60,'Human Resources','5:25 PM'),(61,'Sales','8:12 AM'),(62,'Accounting','9:30
AM'),(63,'Support','7:06 AM'),(64,'Accounting','7:18 AM'),(65,'Human Resources','12:50
PM'),(66,'Product Management','1:27 PM'),(67,'Research and Development','5:10
PM'),(68,'Support','1:47 PM'),(69,'Research and Development','10:42 AM'),(70,'Legal','10:42
AM'),(71,'Product Management','2:12 PM'),(72,'Research and Development','11:12
AM'),(73,'Marketing','7:01 AM'),(74,'Research and Development','7:08 AM'),(75,'Human
Resources','3:50 PM'),(76,'Training','3:19 PM'),(77,'Human Resources','2:29 PM'),(78,'Human
Resources','6:06 PM'),(79,'Support','12:18 PM'),(80,'Sales','5:10 PM'),(81,'Support','7:01
PM'),(82,'Product Management','4:14 PM'),(83,'Engineering','7:35 AM'),(84,'Services','4:44
PM'),(85,'Marketing','3:24 PM'),(86,'Research and Development','6:14 PM'),(87,'Research and
Development','9:47 AM'),(88,'Training','1:59 PM'),(89,'Engineering','10:41
AM'),(90,'Support','10:15 AM'),(91,'Marketing','1:11 PM'),(92,'Accounting','11:39
AM'),(93,'Business Development','12:32 PM'),(94,'Legal','7:39 AM'),(95,'Legal','7:24
PM'),(96,'Support','7:47 PM'),(97,'Research and Development','6:45 PM'),(98,'Product
Management','1:28 PM'),(99,'Services','2:23 PM'),(100,'Support','10:39 AM'),(101,'Support','5:32
PM'),(102,'Accounting','10:29 AM'),(103,'Business Development','4:47 PM'),(104,'Product
Management','1:34 PM'),(105,'Legal','2:02 PM'),(106,'Human Resources','8:03 AM'),(107,'Research
and Development','5:18 PM'),(108,'Human Resources','2:22 PM'),(109,'Engineering','10:04
AM'),(110,'Human Resources','1:52 PM'),(111,'Engineering','1:17 PM'),(112,'Training','11:29
AM'),(113,'Human Resources','6:06 PM'),(114,'Marketing','7:20 PM'),(115,'Research and
Development','9:11 AM'),(116,'Marketing','5:49 PM'),(117,'Product Management','1:25
PM'),(118,'Research and Development','5:43 PM'),(119,'Research and Development','8:43

45
AM'),(120,'Marketing','3:41 PM'),(121,'Training','11:22 AM'),(122,'Research and
Development','4:16 PM'),(123,'Accounting','2:37 PM'),(124,'Business Development','12:14
PM'),(125,'Legal','11:14 AM');

/*!40000 ALTER TABLE `Materia` ENABLE KEYS */;

UNLOCK TABLES;

--

-- Table structure for table `Profesor`

--

DROP TABLE IF EXISTS `Profesor`;

/*!40101 SET @saved_cs_client = @@character_set_client */;

/*!50503 SET character_set_client = utf8mb4 */;

CREATE TABLE `Profesor` (

`id_prof` int NOT NULL,

`nombre` varchar(50) DEFAULT NULL,

`apellido` varchar(50) DEFAULT NULL,

`departamento` varchar(50) DEFAULT NULL,

PRIMARY KEY (`id_prof`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;

/*!40101 SET character_set_client = @saved_cs_client */;

--

-- Dumping data for table `Profesor`

--

LOCK TABLES `Profesor` WRITE;

/*!40000 ALTER TABLE `Profesor` DISABLE KEYS */;

INSERT INTO `Profesor` VALUES


(1,'Glenn','Roseblade','Sales'),(2,'Madalyn','Cast','Accounting'),(3,'Tiffany','Baynham','Training'),(4,'

46
Myles','Teape','Human Resources'),(5,'Faunie','Ballefant','Business
Development'),(6,'Niccolo','Brereton','Research and
Development'),(7,'Nollie','Doig','Marketing'),(8,'Rafi','Murthwaite','Research and
Development'),(9,'Nikolai','Olman','Training'),(10,'Maurene','Kiendl','Business
Development'),(11,'Olivie','Heatly','Business Development'),(12,'Christabella','McGuinley','Human
Resources'),(13,'Julian','Clymo','Product
Management'),(14,'Claiborne','Hilliam','Legal'),(15,'Gianina','Sexty','Legal'),(16,'Boot','Shoard','Mar
keting'),(17,'Ardis','Colbrun','Training'),(18,'Daphna','Heinreich','Research and
Development'),(19,'Em','Morrison','Training'),(20,'Ardis','Dodgshon','Sales'),(21,'Rick','Dmitrichenk
o','Business
Development'),(22,'Nert','Scone','Training'),(23,'Godwin','Audrey','Services'),(24,'Alleyn','Cogin','Sa
les'),(25,'Jean','Haugen','Services'),(26,'Verina','Canas','Research and
Development'),(27,'Olympia','Carder','Research and
Development'),(28,'Wallie','Hogbourne','Engineering'),(29,'Birgitta','Naseby','Business
Development'),(30,'Ruthie','Cawkwell','Support'),(31,'Pooh','Gianiello','Marketing'),(32,'Tailor','Hu
bbuck','Training'),(33,'Holden','Harridge','Training'),(34,'Nealon','Lodeke','Services'),(35,'Gina','Giac
opini','Business
Development'),(36,'Bonnibelle','Deval','Training'),(37,'Saba','Blenkhorn','Training'),(38,'Brennen','R
obbeke','Training'),(39,'Clair','Walcot','Legal'),(40,'Arlene','Niesing','Sales'),(41,'Chucho','Abry','Hu
man Resources'),(42,'Carla','Lynock','Accounting'),(43,'Cathrine','Axleby','Human
Resources'),(44,'Florinda','Leith','Accounting'),(45,'Hill','Gergely','Engineering'),(46,'Lev','Birtwell','
Accounting'),(47,'Joelly','Findlow','Research and
Development'),(48,'Zachery','Tesauro','Engineering'),(49,'Charla','Gentile','Human
Resources'),(50,'Arther','Gunton','Engineering'),(51,'Arnoldo','Litel','Human
Resources'),(52,'Shea','Grene','Human Resources'),(53,'Patrizia','Burgiss','Human
Resources'),(54,'Ashlen','Longmead','Accounting'),(55,'Adara','Murfill','Accounting'),(56,'Lindy','Tre
ker','Product Management'),(57,'Margit','Caff','Human
Resources'),(58,'Bald','O\'Donnell','Services'),(59,'Karissa','Stormont','Accounting'),(60,'Niall','Sizze
y','Legal'),(61,'Babb','Strase','Product
Management'),(62,'Merline','Dri','Support'),(63,'Jacqui','Lakeland','Human
Resources'),(64,'Leigh','Lauchlan','Accounting'),(65,'Mike','Sutheran','Business
Development'),(66,'Lorrie','Skpsey','Training'),(67,'Ceil','Prall','Services'),(68,'Jeni','Spitell','Support'
),(69,'Felicle','Portsmouth','Business
Development'),(70,'Brant','Ambrogelli','Services'),(71,'Catrina','Hartus','Training'),(72,'Shea','Broke'
,'Services'),(73,'Edgard','Heyns','Product
Management'),(74,'Vaclav','Trobey','Accounting'),(75,'Francois','Kupisz','Business
Development'),(76,'Pearla','Gauntley','Business
Development'),(77,'Olly','Semonin','Marketing'),(78,'Sasha','Mensler','Support'),(79,'Petrina','Carle
ss','Support'),(80,'Rena','Kinchington','Support'),(81,'Ferdinande','Truckell','Sales'),(82,'Ynez','Boyer
','Engineering'),(83,'Jeffy','Croix','Human
Resources'),(84,'Myrilla','Thynne','Accounting'),(85,'Blondie','Torbet','Engineering'),(86,'Cathryn','
Willeman','Accounting'),(87,'Galen','Ogilvie','Legal'),(88,'Nola','Muffin','Business
Development'),(89,'Conni','Espada','Sales'),(90,'Dawn','Elnor','Engineering'),(91,'Lilian','Hale','Servi
ces'),(92,'Olva','Pim','Services'),(93,'Donny','Prew','Marketing'),(94,'Devi','Weatherburn','Sales'),(95

47
,'Dorolice','Boerder','Research and
Development'),(96,'Ingamar','Geeson','Services'),(97,'Ceil','Dessaur','Product
Management'),(98,'Bartram','Innott','Services'),(99,'Genny','Pyson','Research and
Development'),(100,'Rafe','Beadnall','Services'),(101,'Lorraine','Spaduzza','Training'),(102,'Arch','D
owda','Services'),(103,'Shelli','Moncrieffe','Product
Management'),(104,'Rowney','McGauhy','Engineering'),(105,'Raychel','Gobel','Research and
Development'),(106,'Brook','Clayden','Accounting'),(107,'Guendolen','Rait','Legal'),(108,'Christiano
','Olivo','Training'),(109,'Wylie','Mattek','Services'),(110,'Marjy','Goldby','Training'),(111,'Martie','M
oncreiff','Accounting'),(112,'Charlot','Matson','Research and
Development'),(113,'Carissa','Cokly','Human
Resources'),(114,'Irma','Bittlestone','Legal'),(115,'Etti','Karadzas','Engineering'),(116,'Bernete','Thor
owgood','Marketing'),(117,'Bondy','Lindman','Sales'),(118,'Delbert','Leyban','Research and
Development'),(119,'Hendrika','Bermingham','Research and
Development'),(120,'Jordon','Fresson','Marketing'),(121,'Christabel','Kirlin','Research and
Development'),(122,'Putnem','Twede','Business
Development'),(123,'Kristine','Hackforth','Sales'),(124,'Norris','Ireson','Accounting'),(125,'Chrisy','O
\' Mulderrig','Sales');

/*!40000 ALTER TABLE `Profesor` ENABLE KEYS */;

UNLOCK TABLES;

/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;

/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;

/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;

/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2023-03-19 14:35:43

48
Codigo de Etica
Yo Lenin Osmar Bravo González, doy fe de que este trabajo es de mi autoría y en
caso de ser copiado, que se me asigne la sanción correspondiente, la cual será no
tener derecho a segundas oportunidades.

Yo Carmona González Daniel, doy fe de que el presente trabajo es de mi total


autoría y en caso de ser copiado, se me asigne la sanción correspondiente: Perder
mi derecho a 2das oportunidades para la asignatura: Administración de Base de
Datos.

Yo Mauricio Humberto Concha Silva, doy fe de que el trabajo presente es de mi


autoría, y en caso de ser copiado, se me asigne la sanción correspondiente: la cual
es perder mi derecho a segundas oportunidades.

49
Conclusiones

A manera de conclusiones podemos decir que, poder elegir un motor de


almacenamiento adecuado para nuestra base de datos puede llegar a ser un tanto
complicado, debido a que debemos tener muy claro la naturaleza de la base de
datos, ya que si elegimos un motor que no nos sea de mucha utilidad,
terminaremos desperdiciando recursos que pueden afectar al desempeño de
nuestro sistema gestor, además, seleccionar un motor en PostgreSQL fue incluso
más complejo, debido a que no pudimos encontrar información suficiente que nos
facilitara el proceso de selección, demoramos mucho tiempo analizando y
terminamos utilizando el motor por defecto, pero esto nos hizo comprender la
importancia y el enfoque de cada motor de almacenamiento.

Referencias

CódigoFacilito (s.f.). Motores de almacenamiento en MySQL. Recuperado el 21 de


marzo de 2023, de https://codigofacilito.com/articulos/motores-mysql.
Structio (s.f.). PostgreSQL en OpenBSD. Recuperado el 21 de marzo de 2023, de
https://structio.sourceforge.net/guias/servidor_OpenBSD/postgresql.html#:~:text=P
ostgreSQL%20es%20un%20motor%20de,uso%20en%20un%20sistema%20adJ.
PostgreSQL Wiki (2015). PostgreSQL: cómo funciona una DBMS por dentro.
Recuperado el 21 de marzo de 2023, de
https://wiki.postgresql.org/images/4/43/Postgresql_como_funciona_una_dbms_por
_dentro.pdf.

50

También podría gustarte