-
Notifications
You must be signed in to change notification settings - Fork 0
/
mydatabase.sql
2539 lines (2449 loc) · 124 KB
/
mydatabase.sql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
-- bdprueba.AIRLINE definition
CREATE TABLE `AIRLINE` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(200) COLLATE utf8_spanish_ci NOT NULL,
`web_page` varchar(500) COLLATE utf8_spanish_ci NOT NULL,
`pais` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.AUTHOR definition
CREATE TABLE `AUTHOR` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`citizenship` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`birthdate` date NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.BLOG_USUARIO definition
CREATE TABLE `BLOG_USUARIO` (
`login` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`name` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`lastname` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`login`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.DECANATURA definition
CREATE TABLE `DECANATURA` (
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`decano` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`pagina_web` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`id` int(3) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.ELEMENTOS definition
CREATE TABLE `ELEMENTOS` (
`id` int(5) NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`tipo` varchar(10) COLLATE utf8_spanish_ci NOT NULL,
`funcional` tinyint(1) NOT NULL,
`EQUIPO_id` int(5) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.EQUIPOS definition
CREATE TABLE `EQUIPOS` (
`id` int(5) NOT NULL,
`estado` tinyint(1) NOT NULL,
`LABORATORIO_id` int(5) DEFAULT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.LABORATORIOS definition
CREATE TABLE `LABORATORIOS` (
`id` int(5) NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`cantidad_equipos` int(5) NOT NULL,
`estado` tinyint(1) NOT NULL,
`fecha_creacion` date NOT NULL,
`fecha_cierre` date DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.LABORATORY definition
CREATE TABLE `LABORATORY` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`activo` bit(1) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.MATERIA definition
CREATE TABLE `MATERIA` (
`mnemonico` varchar(4) COLLATE utf8_spanish_ci NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`programa_id` int(5) NOT NULL,
`nucleo` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`creditos` int(1) NOT NULL,
`semestre` int(2) NOT NULL,
PRIMARY KEY (`mnemonico`),
KEY `MATERIA_CARRERA_FK` (`programa_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.NOVEDADES definition
CREATE TABLE `NOVEDADES` (
`id` int(5) NOT NULL,
`titulo` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`detalle` varchar(250) COLLATE utf8_spanish_ci NOT NULL,
`fecha` date NOT NULL,
`EQUIPO_id` int(5) DEFAULT NULL,
`ELEMENTO_id` int(5) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.ORD_PEDIDOS definition
CREATE TABLE `ORD_PEDIDOS` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`fecha_radicacion` datetime NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.ORD_PRODUCTOS definition
CREATE TABLE `ORD_PRODUCTOS` (
`codigo` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(45) COLLATE utf8_spanish_ci NOT NULL,
`precio` int(11) NOT NULL,
PRIMARY KEY (`codigo`)
) ENGINE=MyISAM AUTO_INCREMENT=2100645959 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.PACIENTES definition
CREATE TABLE `PACIENTES` (
`id` int(11) NOT NULL,
`tipo_id` varchar(2) COLLATE utf8_spanish_ci NOT NULL DEFAULT '',
`nombre` varchar(45) COLLATE utf8_spanish_ci NOT NULL,
`fecha_nacimiento` date NOT NULL,
PRIMARY KEY (`id`,`tipo_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.VI_CLIENTES definition
CREATE TABLE `VI_CLIENTES` (
`documento` bigint(20) NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`telefono` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`direccion` varchar(150) COLLATE utf8_spanish_ci DEFAULT NULL,
`email` varchar(150) COLLATE utf8_spanish_ci DEFAULT NULL,
`vetado` tinyint(1) DEFAULT NULL,
PRIMARY KEY (`documento`),
UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.VI_TIPOITEM definition
CREATE TABLE `VI_TIPOITEM` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`descripcion` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `descripcion` (`descripcion`)
) ENGINE=MyISAM AUTO_INCREMENT=2143448 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.rol definition
CREATE TABLE `rol` (
`admi` varchar(50) COLLATE utf8_spanish_ci DEFAULT NULL,
`estudiante` varchar(50) COLLATE utf8_spanish_ci DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.users definition
CREATE TABLE `users` (
`firstSurname` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`secondSurname` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`firstName` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`otherName` varchar(50) COLLATE utf8_spanish_ci DEFAULT NULL,
`documentType` varchar(250) COLLATE utf8_spanish_ci DEFAULT NULL,
`documentNumber` varchar(250) COLLATE utf8_spanish_ci DEFAULT NULL,
`country` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`area` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`email` varchar(250) COLLATE utf8_spanish_ci DEFAULT NULL,
`registrationDate` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`modificationDate` varchar(20) COLLATE utf8_spanish_ci DEFAULT NULL,
`active` tinyint(1) DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.BLOG definition
CREATE TABLE `BLOG` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`creation_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
`author` varchar(100) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT
NULL,
`title` varchar(100) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT
NULL,
`content` varchar(100) CHARACTER SET utf8 COLLATE utf8_spanish_ci NOT
NULL,
PRIMARY KEY (`id`),
KEY `BLOG_BLOG_USUARIO_FK` (`author`),
CONSTRAINT `BLOG_BLOG_USUARIO_FK` FOREIGN KEY (`author`) REFERENCES
`BLOG_USUARIO` (`login`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1
COLLATE=latin1_general_ci;
-- bdprueba.BLOG_COMMENT definition
CREATE TABLE `BLOG_COMMENT` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`creation_date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE
CURRENT_TIMESTAMP,
`author` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`blog_id` int(11) NOT NULL,
`content` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`id`),
KEY `BLOG_COMMENT_BLOG_USUARIO_FK` (`author`),
KEY `BLOG_COMMENT_BLOG_FK` (`blog_id`),
CONSTRAINT `BLOG_COMMENT_BLOG_FK` FOREIGN KEY (`blog_id`) REFERENCES
`BLOG` (`id`),
CONSTRAINT `BLOG_COMMENT_BLOG_USUARIO_FK` FOREIGN KEY (`author`)
REFERENCES `BLOG_USUARIO` (`login`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.BOOK definition
CREATE TABLE `BOOK` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`price` int(11) NOT NULL,
`format` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`language` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`publicationdate` date NOT NULL,
`rating` smallint(6) NOT NULL,
`author_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `BOOK_FK` (`author_id`),
CONSTRAINT `BOOK_FK` FOREIGN KEY (`author_id`) REFERENCES `AUTHOR`
(`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.COMPUTER definition
CREATE TABLE `COMPUTER` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`activo` bit(1) NOT NULL,
`laboratory_fk` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `COMPUTER_FK` (`laboratory_fk`),
CONSTRAINT `COMPUTER_FK` FOREIGN KEY (`laboratory_fk`) REFERENCES
`LABORATORY` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.CONSULTAS definition
CREATE TABLE `CONSULTAS` (
`idCONSULTAS` int(11) NOT NULL AUTO_INCREMENT,
`fecha_y_hora` datetime NOT NULL,
`resumen` text COLLATE utf8_spanish_ci NOT NULL,
`PACIENTES_id` int(11) NOT NULL DEFAULT '0',
`PACIENTES_tipo_id` varchar(2) COLLATE utf8_spanish_ci DEFAULT NULL,
PRIMARY KEY (`idCONSULTAS`),
KEY `fk_CONSULTAS_PACIENTES1` (`PACIENTES_id`,`PACIENTES_tipo_id`),
CONSTRAINT `fk_CONSULTAS_PACIENTES1` FOREIGN KEY (`PACIENTES_id`,
`PACIENTES_tipo_id`) REFERENCES `PACIENTES` (`id`, `tipo_id`) ON DELETE NO
ACTION ON UPDATE NO ACTION
) ENGINE=MyISAM AUTO_INCREMENT=1262219 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.`ELEMENT` definition
CREATE TABLE `ELEMENT` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`no_serie` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`tipo` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`marca` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`activo` bit(1) NOT NULL,
`computer_fk` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `ELEMENT_FK` (`computer_fk`),
CONSTRAINT `ELEMENT_FK` FOREIGN KEY (`computer_fk`) REFERENCES
`COMPUTER` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=16 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.FLIGTH definition
CREATE TABLE `FLIGTH` (
`codigo` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`airline` int(11) NOT NULL,
`origen` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`destino` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
`duracion` int(11) NOT NULL,
PRIMARY KEY (`codigo`),
KEY `FLIGTH_AIRLINE_FK` (`airline`),
CONSTRAINT `FLIGTH_AIRLINE_FK` FOREIGN KEY (`airline`) REFERENCES
`AIRLINE` (`Codigo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.ORD_DETALLE_PEDIDO definition
CREATE TABLE `ORD_DETALLE_PEDIDO` (
`pedido_fk` int(11) NOT NULL,
`producto_fk` int(11) NOT NULL,
`cantidad` int(11) NOT NULL,
PRIMARY KEY (`pedido_fk`,`producto_fk`),
KEY `ORD_DETALLE_PEDIDO_ORD_PRODUCTOS_FK` (`producto_fk`),
CONSTRAINT `ORD_DETALLE_PEDIDO_ORD_PEDIDOS_FK` FOREIGN KEY (`pedido_fk`)
REFERENCES `ORD_PEDIDOS` (`codigo`),
CONSTRAINT `ORD_DETALLE_PEDIDO_ORD_PRODUCTOS_FK` FOREIGN KEY
(`producto_fk`) REFERENCES `ORD_PRODUCTOS` (`codigo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.PASSENGER definition
CREATE TABLE `PASSENGER` (
`tipo_id` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`no_id` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`apellido` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`telefono` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`flight` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
PRIMARY KEY (`tipo_id`,`no_id`),
KEY `PASSENGER_FLIGTH_FK` (`flight`),
CONSTRAINT `PASSENGER_FLIGTH_FK` FOREIGN KEY (`flight`) REFERENCES
`FLIGTH` (`codigo`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.PROGRAMA definition
CREATE TABLE `PROGRAMA` (
`id` int(5) NOT NULL,
`nombre` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`pagina_web` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`descripcion` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`nivel` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`decanatura_id` int(3) NOT NULL,
PRIMARY KEY (`id`),
KEY `PROGRAMA_DECANATURA_FK` (`decanatura_id`),
CONSTRAINT `PROGRAMA_DECANATURA_FK` FOREIGN KEY (`decanatura_id`)
REFERENCES `DECANATURA` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.REVIEW definition
CREATE TABLE `REVIEW` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) COLLATE utf8_spanish_ci NOT NULL,
`date` date NOT NULL,
`comment` varchar(1000) COLLATE utf8_spanish_ci NOT NULL,
`rating` smallint(6) NOT NULL,
`book_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `REVIEW_FK` (`book_id`),
CONSTRAINT `REVIEW_FK` FOREIGN KEY (`book_id`) REFERENCES `BOOK` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
-- bdprueba.VI_ITEMS definition
CREATE TABLE `VI_ITEMS` (
`id` int(11) NOT NULL,
`nombre` varchar(50) COLLATE utf8_spanish_ci NOT NULL,
`descripcion` varchar(500) COLLATE utf8_spanish_ci NOT NULL,
`fechalanzamiento` date NOT NULL,
`tarifaxdia` bigint(20) NOT NULL,
`formatorenta` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`genero` varchar(20) COLLATE utf8_spanish_ci NOT NULL,
`TIPOITEM_id` int(11) NOT NULL,
PRIMARY KEY (`id`),
KEY `VI_ITEMS_VI_TIPOITEM_FK` (`TIPOITEM_id`),
CONSTRAINT `VI_ITEMS_VI_TIPOITEM_FK` FOREIGN KEY (`TIPOITEM_id`)
REFERENCES `VI_TIPOITEM` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
-- bdprueba.VI_ITEMRENTADO definition
CREATE TABLE `VI_ITEMRENTADO` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`CLIENTES_documento` bigint(20) NOT NULL,
`ITEMS_id` int(11) NOT NULL,
`fechainiciorenta` date NOT NULL,
`fechafinrenta` date NOT NULL,
`test` varchar(100) COLLATE utf8_spanish_ci DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `VI_ITEMRENTADO_VI_CLIENTES_FK` (`CLIENTES_documento`),
KEY `VI_ITEMRENTADO_VI_ITEMS_FK` (`ITEMS_id`),
CONSTRAINT `VI_ITEMRENTADO_VI_CLIENTES_FK` FOREIGN KEY
(`CLIENTES_documento`) REFERENCES `VI_CLIENTES` (`documento`),
CONSTRAINT `VI_ITEMRENTADO_VI_ITEMS_FK` FOREIGN KEY (`ITEMS_id`)
REFERENCES `VI_ITEMS` (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2159133 DEFAULT CHARSET=utf8
COLLATE=utf8_spanish_ci;
INSERT INTO bdprueba.AIRLINE (nombre,web_page,pais) VALUES
('Avianca','www.avianca.com','Colombia'),
('Latam','www.latam.com','Colombia');
INSERT INTO bdprueba.AUTHOR (name,citizenship,birthdate) VALUES
('Dan Brown','estadounidense','1964-06-22'),
('Fernando Trujillo Sanz','Espa�ol','1980-07-24'),
('Robert Kiyosaki','estadounidense','1947-04-08');
INSERT INTO bdprueba.BLOG (creation_date,author,title,content) VALUES
('2019-10-10 07:50:15','foo','lorem','lorem ipsum dolor sit amet, consectetur ad'),
('2019-10-10 07:50:15','lola','lorem ipsum','ma'),
('2019-10-10 07:50:15','foo','boris nisi ut aliquip ex ea commodo con','dolor sit amet');
INSERT INTO bdprueba.BLOG_COMMENT (creation_date,author,blog_id,content) VALUES
('1979-06-07 17:55:56','pepe',1,'ua. Ut enim ad minim veniam, quis nostrud ex'),
('2019-10-10 08:52:31','lola',1,'Ese comentario es muy Tonto'),
('2012-11-23 13:06:46','foo',2,'consequat. Duis aute irure dolor in reprehenderi'),
('2020-03-27 16:22:31','pepe',1,'esto es tonto.'),
('2019-10-10 08:52:26','lola',2,'Qu� burro, pongale 0'),
('2020-10-08 08:28:21','foo',1,'Muy buena pelicula');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('foo','Foo','Bar'),
('lola','Lola','Lopez'),
('pepe','Pepe','Perez'),
('user10','!!!!!!!!!!','!!!!!{/Y!.!4*2,''s^&%i~7(0;Rnj(t03'),
('user11','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!8-%U"8BC'),
('user12','!!!!!!!!!!','!!!!!{/Y!.!4*2,''s^%%i~7(0;R#j(t03'),
('user123','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!'),
('user124','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!'),
('user126','!!!!!!!!!!','!!!!!!!!!!'),
('user13','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!8-%U"88C');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('user15','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!8-%U"84C'),
('user16','!!!!!!!!!!','!!!!!{/Y!.!+*'),
('user18','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!8-%%"84C'),
('user2','!!!!!!!!!!','!!!!!{/Y"C%f*2,''x^=%i~7(0;Rnj8t0K'),
('user20','!!!!!!!!!!','!!!!!{/4!.!+*'),
('user21','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"-%%"84C'),
('user23','!!!!!!!!!!','!!!!!{/,!.!+*'),
('user24','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"-%""84C'),
('user26','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"!%""84C'),
('user27','!!!!!!!!!!','!!!!!_*,!.!)*');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('user29','!!!!!!!!!!','!!!!!Y*,!.!)*'),
('user3','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!&E-%Uy]BC'),
('user32','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"!%""'),
('user33','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!'),
('user34','!!!!!!!!!!','!!!!!Y)&!.!)*'),
('user35','!!!!!!!!!!','!!!!!S)&!.!)*'),
('user36','!!!!!!!!!!','!!!!!S)&!.!"*'),
('user37','!!!!!!!!!!','!!!!!S)&!(!"*'),
('user38','!!!!!!!!!!','!!!!!S)&!%!"*'),
('user39','!!!!!!!!!!','!!!!!S%&!%!"*');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('user4','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!E-%Uy]BC'),
('user40','!!!!!!!!!!','!!!!!S%"!%!"*'),
('user43','!!!!!!!!!!','!!!!!S%"!"!""'),
('user44','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!'),
('user47','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!'),
('user48','!!!!!!!!!!','!!!!!S%!!"!""'),
('user49','!!!!!!!!!!','!!!!!!!!!!!!!'),
('user5','!!!!!!!!!!','!!!!!{/Y".%f*2,''s^=%i~7(0;Rnj8t03'),
('user50','!!!!!!!!!!','!!!!!S#!!"!!"'),
('user51','!!!!!!!!!!','!!!!!S"!!"!!"');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('user52','!!!!!!!!!!','!!!!!3"!!"!!"'),
('user53','!!!!!!!!!!','!!!!!!!!!!'),
('user55','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"!%!!'),
('user57','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!"!#!!'),
('user6','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'),
('user60','!!!!!!!!!!','!!!!!*"!!"!!"'),
('user63','!!!!!!!!!!','!!!!!*"!!"!!!'),
('user64','!!!!!!!!!!','!!!!!)"!!"!!!'),
('user66','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!'),
('user67','!!!!!!!!!!','!!!!!)"!!!!!!');
INSERT INTO bdprueba.BLOG_USUARIO (login,name,lastname) VALUES
('user69','!!!!!!!!!!','!!!!!!"!!!!!!'),
('user7','!!!!!!!!!!','!!!!!{/Y".!4*2,''s^=%i~7(0;Rnj8t03'),
('user70','!!!!!!!!!!','!!!!!!"!!!'),
('user71','!!!!!!!!!!','!!!!!!!!!!!!!!'),
('user8','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!!!!8-%U>8BC'),
('user80','!!!!!!!!!!','!!!!!!!!!!'),
('user86','!!!!!!!!!!','!!!!!!!!!!!'),
('user87','!!!!!!!!!!','!!!!!!!!!!'),
('user89','!!!!!!!!!!','!!!!!!!!!!!!!!!!!!!!!!'),
('user9','!!!!!!!!!!','!!!!!{/Y!.!4*2,''s^=%i~7(0;Rnj(t03');
INSERT INTO bdprueba.BOOK (name,price,format,`language`,publicationdate,rating,author_id) VALUES
('Fortaleza Digital',50000,'F�sico','Espa�ol','2007-04-01',5,1),
('Origen',70000,'Ebook','Ingles','2017-10-03',4,1),
('La blibia de los Caidos',30000,'F�sico','Espa�ol','2011-05-06',4,2),
('La Guerra de los cielos',45000,'Ebook','Espa�ol','2012-06-16',3,2),
('Padre rico y padre pobre',60000,'F�sico','Espa�ol','1997-10-20',4,3);
INSERT INTO bdprueba.COMPUTER (nombre,activo,laboratory_fk) VALUES
('Sistemas1',1,1),
('Sistemas2',1,1),
('Sistemas3',1,1),
('Sistemas4',0,1),
('Sistemas11',1,2),
('Sistemas12',1,2),
('Sistemas13',0,2),
('Sistemas14',1,2),
('Sistemas21',1,3),
('Sistemas22',1,3);
INSERT INTO bdprueba.COMPUTER (nombre,activo,laboratory_fk) VALUES
('Sistemas23',1,3),
('Sistemas24',0,3);
INSERT INTO bdprueba.CONSULTAS (fecha_y_hora,resumen,PACIENTES_id,PACIENTES_tipo_id) VALUES
('2022-11-16 14:07:44','hepatitis',9876,'TI'),
('2022-10-16 14:07:40','varicela',9877,'CC'),
('2022-11-16 14:07:44','varicela',9879,'TI'),
('2022-12-16 14:07:45','hepatitis',9875,'TI'),
('2001-01-01 00:00:00','Gracias',9878,'TI');
INSERT INTO bdprueba.DECANATURA (nombre,decano,pagina_web,id) VALUES
('Civil','H�ctor Matamoros','https://www.escuelaing.edu.co/es/programas/pregrado/Ingenier%C3%ADa+Civil+',1),
('Electr�nica','Javier Chaparro','https://www.escuelaing.edu.co/es/programas/pregrado/Ingenier%C3%ADa+Electr%C3%B3nica+',2),
('Sistemas','Oswaldo Castillo','https://www.escuelaing.edu.co/es/programas/pregrado/Ingenier%C3%ADa+de+Sistemas',3);
INSERT INTO bdprueba.`ELEMENT` (no_serie,tipo,marca,activo,computer_fk) VALUES
('ASDFG-12345','SCREEN','HP',1,1),
('QWERT-975651','MOUSE','HP',1,1),
('ZXCVBN-456951','KEYBOARD','HP',1,1),
('QWSXC-96301','CPU','HP',1,1),
('MNBJHG-9451','SCREEN','LENOVO',1,6),
('ERTFC-951752','MOUSE','LENOVO',1,6),
('POPOK-986512','KEYBOARD','LENOVO',1,6),
('WSSDF-45841','CPU','LENOVO',1,6),
('QWSDFG-8845','CPU','MAC',1,9),
('EKFJSA-65941','SCREEN','MAC',1,9);
INSERT INTO bdprueba.`ELEMENT` (no_serie,tipo,marca,activo,computer_fk) VALUES
('EDDFG-6584','MOUSE','MAC',0,9),
('PKPKPJ-54954','KEYBOARD','MAC',0,9),
('OEWOREIE-45954','SCREEN','HP',1,2),
('PERWEIR-9494','MOUSE','HP',1,2),
('NVMDN-6548465','CPU','HP',1,2);
INSERT INTO bdprueba.ELEMENTOS (id,nombre,tipo,funcional,EQUIPO_id) VALUES
(1,'samsung','Pantalla',1,4),
(2,'acer','Mouse',1,2),
(3,'HyperX','Teclado',1,4),
(4,'Janus','Torre',0,NULL),
(5,'asus','Mouse',1,423423),
(555454,'5445454','Pantalla',1,NULL),
(2622,'ECI Torre','Torre',1,4),
(4234444,'ECI Screen','Pantalla',1,NULL),
(4232444,'TheBoys Keyboard','Teclado',1,NULL),
(5,'Logitech','Mouse',1,423423);
INSERT INTO bdprueba.ELEMENTOS (id,nombre,tipo,funcional,EQUIPO_id) VALUES
(8,'ECI mouse','Mouse',1,4),
(9,'ECI screen #2','Pantalla',1,5),
(10,'ECI Torre #2','Torre',1,2),
(11,'ECI Keyboard','Teclado',1,2),
(12,'213123','Pantalla',1,423423),
(213312,'5435','Torre',1,423423),
(543543,'322323','Teclado',1,423423),
(13,'aaaa','Torre',1,5),
(14,'14','Teclado',1,5),
(15,'15','Mouse',1,5);
INSERT INTO bdprueba.ELEMENTOS (id,nombre,tipo,funcional,EQUIPO_id) VALUES
(16,'16','Torre',1,6),
(17,'17','Pantalla',1,6),
(18,'18','Mouse',1,6),
(19,'19','Teclado',1,6),
(20,'CVDS Torre','Torre',1,7),
(21,'CVDS Pantalla','Pantalla',1,7),
(22,'CVDS Mouse','Mouse',1,7),
(24,'CVDS Teclado','Teclado',1,7),
(4532253,'523523','Torre',1,1006),
(1001,'Samsung','Pantalla',1,1006);
INSERT INTO bdprueba.ELEMENTOS (id,nombre,tipo,funcional,EQUIPO_id) VALUES
(1002,'Mouse','Mouse',1,1006),
(1003,'Teclado','Teclado',1,1006),
(1004,'samsung2','Pantalla',1,2),
(1005,'LG007','Pantalla',1,7878),
(1006,'Janus2','Torre',1,7878),
(1007,'Logi','Mouse',1,7878),
(1008,'Genius','Teclado',1,7878);
INSERT INTO bdprueba.EQUIPOS (id,estado,LABORATORIO_id,nombre) VALUES
(1,0,NULL,'Equipo 1'),
(2,0,NULL,'PC de Juan Camilo'),
(3,0,NULL,'Pc de redes'),
(4,0,NULL,'Redes #21'),
(423423,0,NULL,'34444'),
(5,0,NULL,'5'),
(6,0,NULL,'6'),
(7,0,NULL,'CVDS #01'),
(1006,0,NULL,'Equipo1006'),
(7878,0,NULL,'8787');
INSERT INTO bdprueba.FLIGTH (codigo,airline,origen,destino,duracion) VALUES
('VL-01',1,'Bogot�','Medellin',1),
('VL-02',1,'Cali','Bogot�',1),
('VL-03',2,'Bogot�','Medellin',1),
('VL-04',1,'Miami','Bogot�',3);
INSERT INTO bdprueba.LABORATORIOS (id,nombre,cantidad_equipos,estado,fecha_creacion,fecha_cierre) VALUES
(1,'Redes de computadores',0,1,'2022-11-15',NULL),
(2,'Plataformas',0,1,'2022-11-15',NULL),
(3,'Interactiva',0,1,'2022-11-18',NULL);
INSERT INTO bdprueba.LABORATORY (nombre,activo) VALUES
('ISW',1),
('REDES',1),
('PLATAFORMAS',1);
INSERT INTO bdprueba.MATERIA (mnemonico,nombre,programa_id,nucleo,creditos,semestre) VALUES
('CVDS','Ciclos de vida del desarrollo de software',1,'Basico',4,7),
('ACSO','Arquitectura Computacional y Sitemas Operativos',1,'Basico',4,7),
('ARSW','Arquitecturas de Software',1,'Basico',4,7),
('TEST','Materia 1',2,'Basico',4,7),
('TST2','Materia 1',3,'Basico',4,7),
('TST3','Materia 1',4,'Basico',4,7);
INSERT INTO bdprueba.NOVEDADES (id,titulo,detalle,fecha,EQUIPO_id,ELEMENTO_id) VALUES
(1,'novedad1','detalle1','2022-11-02',1,1),
(2,'novedad2','se dañó el cable','2022-11-03',NULL,2),
(2,'novedad2','se dañó la torre','2022-11-03',1,4),
(6,'Titulo6','detalle6','2022-11-03',1,1),
(3,'novedad3','SADFASDF','2022-11-05',1,4),
(4,'novedad4','SADFASDF','2022-11-04',1,4),
(5,'novedad5','SADFASDF','2022-11-01',1,4),
(2,'Novedad de prueba','detalle ','2022-11-04',3,4),
(1,'novedad1','detalle1','2022-11-05',1,1),
(1,'novedad1','detalle1','2022-11-05',1,1);
INSERT INTO bdprueba.NOVEDADES (id,titulo,detalle,fecha,EQUIPO_id,ELEMENTO_id) VALUES
(333,'333','123213','2022-11-07',4,1),
(6,'6','6','2022-11-07',423423,12),
(6,'6','6','2022-11-07',6,17),
(7,'Novedad CVDS','CVDS','2022-11-08',7,24),
(1010,'titulo1010','detalle','2022-11-09',0,1),
(1010,'titulo1010','detalle','2022-11-09',0,13),
(1010,'titulo1010','detalle','2022-11-09',1006,4),
(1011,'titulo1011','detalle','2022-11-09',0,3),
(88,'88','88','2022-11-09',4,3),
(78,'Hola','Holaaaa','2022-11-15',0,4232444);
INSERT INTO bdprueba.NOVEDADES (id,titulo,detalle,fecha,EQUIPO_id,ELEMENTO_id) VALUES
(66,'Nueva asociaci�n','Se asoci� el elemento al equipo','2022-11-15',2,1004),
(66,'Cambio asociaci�n','Se elimin� asociaci�n con PC de Juan Camilo','2022-11-15',NULL,4234444),
(66,'Nueva asociaci�n','Se asoci� el elemento al equipo','2022-11-15',2,4234444),
(66,'Cambio asociaci�n','Se elimin� asociaci�n con PC de Juan Camilo','2022-11-12',NULL,4234444),
(66,'Nueva asociaci�n','Se asoci� el elemento al equipo','2022-11-12',2,1004),
(66,'Cambio asociaci�n','Se elimin� asociaci�n con PC de Juan Camilo','2022-11-15',NULL,1004),
(67,'Elemento dado de baj','No prende','2022-11-16',NULL,4),
(1000,'Equipo dado de baja','','2022-11-17',NULL,423423),
(1000,'Equipo dado de baja','','2022-11-17',NULL,4);
INSERT INTO bdprueba.ORD_DETALLE_PEDIDO (pedido_fk,producto_fk,cantidad) VALUES
(1,1,1),
(1,4,4),
(2,2,1),
(2,3,10);
INSERT INTO bdprueba.ORD_PEDIDOS (fecha_radicacion) VALUES
('2018-03-01 00:00:00'),
('2018-03-08 00:00:00');
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('PC',1000000),
('TV',2500000),
('Papas',1200),
('Leche',1500),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('Daniel',1998),
('nicolas',1000),
('w',10);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('we',10),
('mesa',2),
('nicolas prueba',1000),
('Pineros',1000),
('Andrew',99999999),
('PC con Leche',3999990),
('Condones',10000),
('PRODUCTO 1',1),
('Salchipapa',5400),
('yesid',45);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Marcel�n',4),
('Carlos Sorza',99999999),
('PC Sustentaci�n',1599990),
('Dr Malito',15000),
('Maleta',50000),
('David leon',20000),
('LVJD 4472',1),
('Viagra',12000),
('SU NOMBRE',99999999),
('Dudu',98000);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('hola',541),
('EduardJ',9971),
('EduardJ',9971),
('product',99999999),
('LVJD 33983',1),
('jugo de aguacate',3000),
('LVJD 46266',1),
('LVJD 54126',1),
('Empanada del cementerio',2300),
('LVJD 61350',1);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('LVJD 63504',1),
('nicolas',1000),
('LVJD 91614',1),
('LVJD 99133',1),
('SU NOMBRE',99999999),
('natalia',99999999),
('yeison',99999999),
('natalia',99999999),
('Nathalia Garcia',99999999),
('Yeison Barreto',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Nathalia Garcia',99999999),
('Yeison Barreto',99999999),
('Alejo',1),
('EduardJ',9971),
('SU_NOMBRE',99999999),
('Carlos Sorza',99999999),
('David leon',20000),
('El Rolo',45300),
('Santiago Rubiano',1234567890),
('Arepa mixta del K1',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('The best product',99999999),
('Johann ENP',2709870),
('Andr�s Pico',99999999),
('RED BULL',99999999),
('miguel',999888),
('Sujeto2',11545441),
('SU NOMBRE',99999999),
('Juan Camilo Ortiz',99999999),
('PRUEBA',99999999),
('JuanCamilo',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Juan Camilo Ortiz',99999999),
('JuanCamilo',99999999),
('JuanCamilo',99999999),
('JuanCamilo',99999999),
('SU NOMBRE',99999999),
('J. Eduardo Arias',888888),
('Laura Bernal',999999999),
('Eduardo',1000000),
('Carlos Sorza',999999),
('SANTIAGO',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('OSPINA-JARAMILLO',99999999),
('SU NOMBRE2',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('Juan Sebastian Caceres Leon',99999999),
('BMT',777);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('BM',777),
('Mateo Gonzalez',999999999),
('Fabian Ramirez',2),
('Diego',5000000),
('Sebastian',99999998),
('SU NOMBRE',99999999),
('Eduard Arias',27500),
('Juan Cortes',666666),
('LINAaaaa',99999999),
('Daniel',1998);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Nicolas Torres',99999999),
('Lorenzo marquez',99999999),
('Nicolas Torres',99999999),
('Lorenzo marquez',99999999),
('Gonzalez',99999999),
('CamilaF',99999999),
('Paula Guevara',10000),
('Santiago Rubiano',1234567890),
('Borracho AFK',99999999),
('JULIAN',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Federico Barrios',99999999),
('Jose Castro',99999999),
('Johann Cepeda',1000),
('Johann Cepeda',1000),
('Johann Cepeda',1000),
('Johann Cepeda',1000),
('Coronado',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('LINAaaaa',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Juan Frasica',45),
('Juan Galeano',45),
('Sebastian',99999998),
('Verbo',99999999),
('Arepa mixta del K1',99999999),
('David leon',155500),
('Alejandro',99999999),
('Ana Salazar',99999999),
('Julian Pe�a',99999999),
('Juanor',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('LINA',99999999),
('Andres Rocha',100000),
('Andres Rocha',100000),
('Nicolas',99999999),
('Jose',15),
('Natalia',99999999),
('The best product',99999999),
('product',99999999),
('David Vargas',1234),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('SU NOMBRE',99999999),
('Rojas',99999999),
('Simono',99999999),
('Costalito',99999999),
('Johann ENP',2709870),
('Felipe',9999999),
('Felipe',9999999),
('Hi',99999999),
('prueba 2',21500),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('eldealla',99999999),
('xbox',20500),
('johan rueda',99999999),
('Mateo Mejia',88888888),
('Carro',2000),
('davor',99999999),
('Natalia Orjuela',99999999),
('joel carvajal',99999999),
('Juan Posso',1000),
('Ricardo',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('CristhianTorres',77710),
('Julian',99999999),
('Ang�lica',5000000),
('David leon',155500),
('Johan Guerrero',9999),
('prueba',99999999),
('Johann Bogota',100),
('SU NOMBRE',99999999),
('Richard Urrea',99999999),
('Yarit',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Miguel fuquene',99999999),
('Jorgito Guayaco',1),
('Nikolas Bernal',5000),
('Nikolas Bernajj',5054150),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('Andr�s Pico',99999999),
('Andr�s Pico',99999999),
('Ivan Camilo Rincon',99999999),
('Juan Carlos A',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Leonardo.',99999999),
('Angie Medina',99999999),
('Miguel',99999999),
('Juan Gil',99999999),
('Javier L�pez',99999999),
('Javier L�pez',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('Deivid',10000),
('JP AMAYA',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Jose Perez',99999999),
('Juan Pablo S�nchez Berm�dez',99999999),
('aRePa RiKa',49900),
('JP AMAYA',99999999),
('Ospina',20000),
('Jos� Gamboa',1545154),
('CRISTIAN',99999999),
('Zuly Vargas',19999999),
('kristhian',666),
('nicolas',1000);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Enrique Gonzales',99999999),
('Enrique Gonzales',99999999),
('Pineros',9573452),
('Pineros',16),
('Pineros',99595612),
('Andr�s',999999969),
('Sebastian Ospina',1000),
('Yesid',99999999),
('Gabriela',1000000),
('Juan Rojas',180000);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Juan Becerra',16900),
('Sergio Otero',99999999),
('Sergio Rozo',35000),
('arepa rik',3500),
('SU NOMBRE',99999999),
('Iphone 13 pro maxxxxxxxxxxxxx ',351465465),
('SU NOMBRE',99999999),
('Esteban Cristancho',99999999),
('Santiago',99999999),
('Juan Felipe Aguas Pulido',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Edwar',99999999),
('Chontaduro',200),
('CRISTIAN',99999999),
('CARDENAS-FONSECA',99999999),
('YORKS KEVIN GOMEZ LOPEZ',99999999),
('SU NOMBRE',99999999),
('David leon',20000),
('Carlos Sorza',99999999),
('Juan Carlos',999999999),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('SU_NOMBRE',99999999),
('SU NOMBRE',99999999),
('Carlos Julian Gomez',99999999),
('Andr�s Pico',99999999),
('Carlos',5000000),
('EY',101),
('EY',101),
('jony',45),
('SU NOMBRE',99999999),
('Andres Rocha',100000);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Julian',99999999),
('hi x2',1000),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('NB',99999999),
('NB',99999999),
('Diego Murcia',1000000),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('nicolas',1000),
('Juanpis',45),
('Andres Rocha',100000),
('product',99999999),
('Simono',99999999),
('Miguel Castellanos',99999999),
('prueba 2',21500),
('hamburguesa',20500),
('zapatos',22500),
('camisa',21500);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('prueba 2',21500),
('Ricardo',99999999),
('Julian',99999999),
('Julian',99999999),
('Carlos Sorza',999999),
('AlejoToro',99999999),
('JOTARO',1921),
('prueba lab 31',30000),
('SU NOMBRE',99999999),
('perico',20000);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('tv',300000),
('Empanada del cementerio',2300),
('Empanada del cementerio',2300),
('LINAaaaa',99999999),
('deivid',25000),
('Eduard Arias',27500),
('CESAR VASQUEZ',5000000),
('Miguel Castellanos',99999999),
('hi x2',1000),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Juanpis',45),
('SU NOMBRE',99999999),
('Norbey',99999999),
('nicolas',1000),
('Eduardo',1000000),
('Juan Sebastian Caceres Leon',99999999),
('SU NOMBRE',99999999),
('PASTA',40000),
('Hi',99999999),
('Rojas',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('Felipe',9999999),
('Juan Carlos A@2',99999999),
('SU NOMBRE',99999999),
('YORKS GOMEZ',99999999),
('jony',45),
('Juanpis',45),
('SU NOMBRE',99999999),
('SU NOMBRE',99999999),
('Norbey',2162363),
('SU NOMBRE',99999999);
INSERT INTO bdprueba.ORD_PRODUCTOS (nombre,precio) VALUES
('HOLAXD',99999999),
('bareta',5000),
('w',10),
('SU NOMBRE',99999999),