forked from jordipastor/ausiasYield2014
-
Notifications
You must be signed in to change notification settings - Fork 0
/
database.sql
2774 lines (2546 loc) · 124 KB
/
database.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
-- phpMyAdmin SQL Dump
-- version 4.2.7.1
-- http://www.phpmyadmin.net
--
-- Servidor: localhost:3306
-- Tiempo de generación: 24-11-2014 a las 04:08:31
-- Versión del servidor: 5.5.39
-- Versión de PHP: 5.4.32
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!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 */;
/*!40101 SET NAMES utf8 */;
--
-- Base de datos: `ausiasyield2014`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `actividad`
--
CREATE TABLE IF NOT EXISTS `actividad` (
`id` int(11) NOT NULL COMMENT 'Numero',
`enunciado` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Enunciado',
`fecha` date DEFAULT NULL COMMENT 'Fecha Actividad',
`evaluacion` int(11) DEFAULT NULL COMMENT 'Evaluacion',
`activo` tinyint(1) DEFAULT NULL COMMENT '¿ Activo ?'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=22 ;
--
-- Volcado de datos para la tabla `actividad`
--
INSERT INTO `actividad` (`id`, `enunciado`, `fecha`, `evaluacion`, `activo`) VALUES
(1, 'Actividad 01', '2014-10-09', 1, 1),
(2, 'Actividad 02', '2014-11-12', 1, 0),
(3, 'Actividad 03', '2014-11-05', 2, 1),
(4, 'Actividad 04', '2014-11-18', 2, 1),
(5, 'Actividad 05', '2014-11-02', 3, 1),
(6, 'Actividad 06', '2014-11-28', 3, 1),
(7, 'Actividad 07', '2014-10-03', 1, 1),
(8, 'Actividad 08', '2014-12-03', 1, 1),
(9, 'Actividad 09', '2014-11-03', 1, 1),
(10, 'Actividad 10', '2014-12-08', 1, 1),
(11, 'Actividad 11', '2014-12-13', 2, 1),
(12, 'Actividad 12', '2014-12-13', 2, 1),
(13, 'Actividad 13', '2014-12-05', 3, 1),
(14, 'Actividad 14', '2014-12-24', 3, 1),
(15, 'Actividad 15', '2014-12-18', 3, 1),
(16, 'Actividad 16', '2014-12-09', 2, 1),
(17, 'Actividad 17', '2014-08-03', 2, 1),
(18, 'Actividad 18', '2014-12-21', 3, 1),
(19, 'Actividad 19', '2014-11-21', 2, 1),
(21, 'Actividad 20', '2014-11-06', 2, 0);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `amigo`
--
CREATE TABLE IF NOT EXISTS `amigo` (
`id` int(11) NOT NULL COMMENT 'Identificador',
`id_usuario_1` int(11) DEFAULT NULL COMMENT 'Usuario',
`id_usuario_2` int(11) DEFAULT NULL COMMENT 'Amigo'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `amigo`
--
INSERT INTO `amigo` (`id`, `id_usuario_1`, `id_usuario_2`) VALUES
(1, 2, 3),
(2, 2, 4),
(3, 2, 5),
(4, 3, 8),
(5, 11, 20),
(6, 14, 15),
(7, 2, 15),
(8, 3, 17),
(9, 2, 17),
(10, 3, 19),
(11, 19, 2),
(12, 19, 3),
(13, 12, 2),
(14, 13, 4),
(15, 15, 20),
(16, 5, 15),
(17, 5, 20),
(18, 7, 13),
(19, 15, 6),
(20, 15, 7);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `cliente`
--
CREATE TABLE IF NOT EXISTS `cliente` (
`id` int(6) NOT NULL COMMENT 'Identificador',
`nombre` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Nombre',
`ape1` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Primer Apellido',
`ape2` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Segundo Apellido',
`email` varchar(50) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Correo Electronico'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=251 ;
--
-- Volcado de datos para la tabla `cliente`
--
INSERT INTO `cliente` (`id`, `nombre`, `ape1`, `ape2`, `email`) VALUES
(1, 'Rafael Ãngel', 'Orondon1', 'Pelota', '[email protected]'),
(2, 'Jose Joaquín', 'Mondragón', 'Aragonés', '[email protected]'),
(10, 'Jaime', 'Lincoln', 'Garcia', '[email protected]'),
(14, 'Pepitiño', 'González', 'Perujo', '[email protected]'),
(15, 'Javier', 'Lomo', 'Toro', '[email protected]'),
(19, 'Berni', 'Rodriguez', 'Lopex', '[email protected]'),
(21, 'Ronaldo', 'Lopez', 'González', '[email protected]'),
(22, 'Rogelio', 'Caramillo', 'Gonzalo', '[email protected]'),
(23, 'José', 'Rogelio', 'Miranda', '[email protected]'),
(25, 'Patricio', 'Esponjoso', 'Calamardinao', '[email protected]'),
(31, 'Rafael', 'Sanchis', 'Valverde', '[email protected]'),
(33, 'Milagros', 'Viñuelas', 'Cousido', '[email protected]'),
(35, 'Maria', 'Vicente', 'Maldonado', '[email protected]'),
(38, 'Lola', 'Viñuelas', 'Escorihuela', '[email protected]'),
(39, 'Alejandra', 'Polop', 'Jovellanos', '[email protected]'),
(40, 'Josefa', 'Gutierrez', 'Giménez', 'GutierrezGimé[email protected]'),
(41, 'Josefa', 'Montoya', 'Sanchís', 'MontoyaSanchí[email protected]'),
(42, 'Santiago', 'Fernández', 'Domínguez', 'FernándezDomí[email protected]'),
(43, 'Sebastián', 'Fernández', 'Montoya', 'Ferná[email protected]'),
(44, 'Matías', 'García', 'Domínguez', 'GarcíaDomí[email protected]'),
(45, 'Mateo', 'Alvarez', 'Sancho', '[email protected]'),
(46, 'Nicolás', 'Gómez', 'García', 'GómezGarcí[email protected]'),
(47, 'Alejandro', 'Sanchís', 'García', 'SanchísGarcí[email protected]'),
(48, 'Diego', 'Perez', 'Gutierrez', '[email protected]'),
(49, 'Samuel', 'Perez', 'Rodríguez', 'PerezRodrí[email protected]'),
(50, 'Benjamín', 'Fernández', 'Sancho', 'Ferná[email protected]'),
(51, 'Daniel', 'López', 'Fernández', 'LópezFerná[email protected]'),
(52, 'Joaquín', 'López', 'Perez', 'Ló[email protected]'),
(53, 'Lucas', 'Alvarez', 'Gómez', 'AlvarezGó[email protected]'),
(54, 'Tomas', 'Sanchís', 'Gutierrez', 'Sanchí[email protected]'),
(55, 'Gabriel', 'Giménez', 'Sanchís', 'GiménezSanchí[email protected]'),
(56, 'Martín', 'Sanchís', 'Sancho', 'Sanchí[email protected]'),
(57, 'David', 'López', 'Alvarez', 'Ló[email protected]'),
(58, 'Emiliano', 'López', 'Sanchís', 'LópezSanchí[email protected]'),
(59, 'Jerónimo', 'Giménez', 'Gómez', 'GiménezGó[email protected]'),
(60, 'Emmanuel', 'Giménez', 'Domínguez', 'GiménezDomí[email protected]'),
(61, 'Agustín', 'González', 'García', 'GonzálezGarcí[email protected]'),
(62, 'Juan Pablo', 'Gutierrez', 'Hernandez', '[email protected]'),
(63, 'Juan José', 'Perez', 'García', 'PerezGarcí[email protected]'),
(64, 'Andrés', 'García', 'Perez', 'Garcí[email protected]'),
(65, 'Thiago', 'Sancho', 'Alvarez', '[email protected]'),
(66, 'Leonardo', 'Giménez', 'Hernandez', 'Gimé[email protected]'),
(67, 'Felipe', 'Sanchís', 'Rodríguez', 'SanchísRodrí[email protected]'),
(68, 'Ángel', 'González', 'González', 'GonzálezGonzá[email protected]'),
(69, 'Maximiliano', 'Gutierrez', 'Domínguez', 'GutierrezDomí[email protected]'),
(70, 'Christopher', 'Gómez', 'Gómez', 'GómezGó[email protected]'),
(71, 'Juan Diego', 'Rodríguez', 'Sancho', 'Rodrí[email protected]'),
(72, 'Adrián', 'Hernandez', 'Domínguez', 'HernandezDomí[email protected]'),
(73, 'Pablo', 'Domínguez', 'Giménez', 'DomínguezGimé[email protected]'),
(74, 'Miguel Ángel', 'González', 'Perez', 'Gonzá[email protected]'),
(75, 'Rodrigo', 'Perez', 'Alvarez', '[email protected]'),
(76, 'Alexander', 'Gómez', 'Hernandez', 'Gó[email protected]'),
(77, 'Ignacio', 'Perez', 'Alvarez', '[email protected]'),
(78, 'Emilio', 'Domínguez', 'López', 'DomínguezLó[email protected]'),
(79, 'Dylan', 'Hernandez', 'Gómez', 'HernandezGó[email protected]'),
(80, 'Bruno', 'Sancho', 'Martínez', 'SanchoMartí[email protected]'),
(81, 'Carlos', 'Alvarez', 'González', 'AlvarezGonzá[email protected]'),
(82, 'Vicente', 'Fernández', 'Sanchís', 'FernándezSanchí[email protected]'),
(83, 'Valentino', 'Giménez', 'García', 'GiménezGarcí[email protected]'),
(84, 'Santino', 'Perez', 'Sancho', '[email protected]'),
(85, 'Julián', 'Martínez', 'García', 'MartínezGarcí[email protected]'),
(86, 'Juan Sebastián', 'García', 'Perez', 'Garcí[email protected]'),
(87, 'Aarón', 'Sanchís', 'Montoya', 'Sanchí[email protected]'),
(88, 'Lautaro', 'Sancho', 'Rodríguez', 'SanchoRodrí[email protected]'),
(89, 'Axel', 'Gómez', 'Giménez', 'GómezGimé[email protected]'),
(90, 'Fernando', 'Sancho', 'Domínguez', 'SanchoDomí[email protected]'),
(91, 'Ian', 'Hernandez', 'Montoya', '[email protected]'),
(92, 'Christian', 'Gómez', 'Giménez', 'GómezGimé[email protected]'),
(93, 'Javier', 'Montoya', 'Domínguez', 'MontoyaDomí[email protected]'),
(94, 'Manuel', 'Alvarez', 'Gutierrez', '[email protected]'),
(95, 'Luciano', 'García', 'Fernández', 'GarcíaFerná[email protected]'),
(96, 'Francisco', 'Gómez', 'Sancho', 'Gó[email protected]'),
(97, 'Juan David', 'Rodríguez', 'García', 'RodríguezGarcí[email protected]'),
(98, 'Íker', 'Sanchís', 'Hernandez', 'Sanchí[email protected]'),
(99, 'Facundo', 'Giménez', 'Gutierrez', 'Gimé[email protected]'),
(100, 'Rafael', 'Hernandez', 'Perez', '[email protected]'),
(101, 'Alex', 'Domínguez', 'Montoya', 'Domí[email protected]'),
(102, 'Franco', 'Rodríguez', 'Sanchís', 'RodríguezSanchí[email protected]'),
(103, 'Antonio', 'Hernandez', 'Rodríguez', 'HernandezRodrí[email protected]'),
(104, 'Luis', 'López', 'Alvarez', 'Ló[email protected]'),
(105, 'Isaac', 'González', 'Hernandez', 'Gonzá[email protected]'),
(106, 'Máximo', 'Martínez', 'Domínguez', 'MartínezDomí[email protected]'),
(107, 'Pedrolo', 'Sancho', 'Perez', '[email protected]'),
(108, 'Ricardo', 'Gómez', 'Sancho', 'Gó[email protected]'),
(109, 'Sergio', 'Sanchís', 'Gutierrez', 'Sanchí[email protected]'),
(110, 'Eduardo', 'García', 'García', 'GarcíaGarcí[email protected]'),
(111, 'Bautista', 'Domínguez', 'Sancho', 'Domí[email protected]'),
(112, 'Miguel', 'Giménez', 'Hernandez', 'Gimé[email protected]'),
(113, 'Cristóbal', 'González', 'Hernandez', 'Gonzá[email protected]'),
(114, 'Kevin', 'Gómez', 'Sanchís', 'GómezSanchí[email protected]'),
(115, 'Jorge', 'González', 'Montoya', 'Gonzá[email protected]'),
(116, 'Alonso', 'Rodríguez', 'López', 'RodríguezLó[email protected]'),
(117, 'Anthony', 'Domínguez', 'Fernández', 'DomínguezFerná[email protected]'),
(118, 'Simón', 'López', 'Montoya', 'Ló[email protected]'),
(119, 'Juan', 'Perez', 'González', 'PerezGonzá[email protected]'),
(120, 'Joshua', 'Rodríguez', 'Gutierrez', 'Rodrí[email protected]'),
(121, 'Diego Alejandro', 'Gómez', 'Martínez', 'GómezMartí[email protected]'),
(122, 'Juan Manuel', 'Perez', 'Martínez', 'PerezMartí[email protected]'),
(123, 'Mario', 'Domínguez', 'Domínguez', 'DomínguezDomí[email protected]'),
(124, 'Alan', 'Alvarez', 'Gutierrez', '[email protected]'),
(125, 'Josué', 'Perez', 'Martínez', 'PerezMartí[email protected]'),
(126, 'Gael', 'Gómez', 'Montoya', 'Gó[email protected]'),
(127, 'Hugo', 'Montoya', 'Fernández', 'MontoyaFerná[email protected]'),
(128, 'Matthew', 'Hernandez', 'Perez', '[email protected]'),
(129, 'Ivan', 'Sanchís', 'Sanchís', 'SanchísSanchí[email protected]'),
(130, 'Damián', 'Perez', 'García', 'PerezGarcí[email protected]'),
(131, 'Lorenzo', 'Sancho', 'Alvarez', '[email protected]'),
(132, 'Juan Martín', 'Domínguez', 'Giménez', 'DomínguezGimé[email protected]'),
(133, 'Esteban', 'Gómez', 'Fernández', 'GómezFerná[email protected]'),
(134, 'Álvaro', 'Martínez', 'Hernandez', 'Martí[email protected]'),
(135, 'Valentín', 'Gómez', 'Domínguez', 'GómezDomí[email protected]'),
(136, 'Dante', 'Martínez', 'Alvarez', 'Martí[email protected]'),
(137, 'Jacobo', 'Sancho', 'Hernandez', '[email protected]'),
(138, 'Jesús', 'Hernandez', 'López', 'HernandezLó[email protected]'),
(139, 'Camilo', 'Sancho', 'Gutierrez', '[email protected]'),
(140, 'Juan Esteban', 'García', 'García', 'GarcíaGarcí[email protected]'),
(141, 'Elías', 'Fernández', 'Gómez', 'FernándezGó[email protected]'),
(142, 'Sofía', 'Giménez', 'Fernández', 'GiménezFerná[email protected]'),
(143, 'Isabella', 'López', 'Gómez', 'LópezGó[email protected]'),
(144, 'Camila', 'Martínez', 'González', 'MartínezGonzá[email protected]'),
(145, 'Valentina', 'Hernandez', 'Gutierrez', '[email protected]'),
(146, 'Valeria', 'Domínguez', 'López', 'DomínguezLó[email protected]'),
(147, 'Mariana', 'Martínez', 'González', 'MartínezGonzá[email protected]'),
(148, 'Luciana', 'Alvarez', 'González', 'AlvarezGonzá[email protected]'),
(149, 'Daniela', 'Sancho', 'Domínguez', 'SanchoDomí[email protected]'),
(150, 'Gabriela', 'Perez', 'Rodríguez', 'PerezRodrí[email protected]'),
(151, 'Victoria', 'Domínguez', 'López', 'DomínguezLó[email protected]'),
(152, 'Martina', 'González', 'Giménez', 'GonzálezGimé[email protected]'),
(153, 'Lucía', 'López', 'Sanchís', 'LópezSanchí[email protected]'),
(154, 'Ximena/Jimena', 'Sanchís', 'Gutierrez', 'Sanchí[email protected]'),
(155, 'Sara', 'Hernandez', 'Fernández', 'HernandezFerná[email protected]'),
(156, 'Samantha', 'Martínez', 'Alvarez', 'Martí[email protected]'),
(157, 'María José', 'González', 'Gómez', 'GonzálezGó[email protected]'),
(158, 'Emma', 'Hernandez', 'Sanchís', 'HernandezSanchí[email protected]'),
(159, 'Catalina', 'Gómez', 'Sancho', 'Gó[email protected]'),
(160, 'Julieta', 'Giménez', 'González', 'GiménezGonzá[email protected]'),
(161, 'Mía', 'Gutierrez', 'Fernández', 'GutierrezFerná[email protected]'),
(162, 'Antonella', 'Alvarez', 'Gómez', 'AlvarezGó[email protected]'),
(163, 'Renata', 'García', 'Giménez', 'GarcíaGimé[email protected]'),
(164, 'Emilia', 'Sancho', 'Perez', '[email protected]'),
(165, 'Natalia', 'Alvarez', 'Perez', '[email protected]'),
(166, 'Zoe', 'Martínez', 'Gutierrez', 'Martí[email protected]'),
(167, 'Nicole', 'Montoya', 'Hernandez', '[email protected]'),
(168, 'Paula', 'Gómez', 'Martínez', 'GómezMartí[email protected]'),
(169, 'Amanda', 'Sanchís', 'Rodríguez', 'SanchísRodrí[email protected]'),
(170, 'María Fernanda', 'Perez', 'Sanchís', 'PerezSanchí[email protected]'),
(171, 'Emily', 'Gómez', 'Perez', 'Gó[email protected]'),
(172, 'Antonia', 'Giménez', 'López', 'GiménezLó[email protected]'),
(173, 'Alejandra', 'Montoya', 'Hernandez', '[email protected]'),
(174, 'Juana', 'Alvarez', 'Perez', '[email protected]'),
(175, 'Andrea', 'Montoya', 'Montoya', '[email protected]'),
(176, 'Manuela', 'Montoya', 'García', 'MontoyaGarcí[email protected]'),
(177, 'Ana Sofía', 'Rodríguez', 'Gutierrez', 'Rodrí[email protected]'),
(178, 'Guadalupe', 'González', 'Gutierrez', 'Gonzá[email protected]'),
(179, 'Agustina', 'García', 'García', 'GarcíaGarcí[email protected]'),
(180, 'Elena', 'Gutierrez', 'Fernández', 'GutierrezFerná[email protected]'),
(181, 'María', 'Montoya', 'Giménez', 'MontoyaGimé[email protected]'),
(182, 'Bianca', 'Domínguez', 'Domínguez', 'DomínguezDomí[email protected]'),
(183, 'Ariana', 'Montoya', 'Rodríguez', 'MontoyaRodrí[email protected]'),
(184, 'Ivanna', 'Perez', 'Sancho', '[email protected]'),
(185, 'Abril', 'Gómez', 'Hernandez', 'Gó[email protected]'),
(186, 'Florencia', 'Rodríguez', 'López', 'RodríguezLó[email protected]'),
(187, 'Carolina', 'Gómez', 'Sanchís', 'GómezSanchí[email protected]'),
(188, 'Maite', 'Fernández', 'Gutierrez', 'Ferná[email protected]'),
(189, 'Rafaela', 'Martínez', 'Sanchís', 'MartínezSanchí[email protected]'),
(190, 'Regina', 'Fernández', 'García', 'FernándezGarcí[email protected]'),
(191, 'Adriana', 'Fernández', 'Gutierrez', 'Ferná[email protected]'),
(192, 'Michelle', 'Gutierrez', 'Giménez', 'GutierrezGimé[email protected]'),
(193, 'Alma', 'Martínez', 'López', 'MartínezLó[email protected]'),
(194, 'Violeta', 'Sanchís', 'Domínguez', 'SanchísDomí[email protected]'),
(195, 'Salomé', 'González', 'Hernandez', 'Gonzá[email protected]'),
(196, 'Abigail', 'Perez', 'Giménez', 'PerezGimé[email protected]'),
(197, 'Juliana', 'López', 'Sancho', 'Ló[email protected]'),
(198, 'Valery', 'Hernandez', 'Rodríguez', 'HernandezRodrí[email protected]'),
(199, 'Isabel', 'Gutierrez', 'Gómez', 'GutierrezGó[email protected]'),
(200, 'Montserrat', 'García', 'González', 'GarcíaGonzá[email protected]'),
(201, 'Allison', 'González', 'Gutierrez', 'Gonzá[email protected]'),
(202, 'Jazmín', 'Gutierrez', 'López', 'GutierrezLó[email protected]'),
(203, 'Julia', 'Rodríguez', 'Montoya', 'Rodrí[email protected]'),
(204, 'Lola', 'Montoya', 'Fernández', 'MontoyaFerná[email protected]'),
(205, 'Luna', 'Montoya', 'López', 'MontoyaLó[email protected]'),
(206, 'Ana', 'López', 'Rodríguez', 'LópezRodrí[email protected]'),
(207, 'Delfina', 'Gutierrez', 'Giménez', 'GutierrezGimé[email protected]'),
(208, 'Alessandra', 'Gómez', 'Gómez', 'GómezGó[email protected]'),
(209, 'Ashley', 'Gutierrez', 'Giménez', 'GutierrezGimé[email protected]'),
(210, 'Olivia', 'Fernández', 'Sanchís', 'FernándezSanchí[email protected]'),
(211, 'Constanza', 'Hernandez', 'Martínez', 'HernandezMartí[email protected]'),
(212, 'Paulina', 'Sancho', 'Domínguez', 'SanchoDomí[email protected]'),
(213, 'Rebeca', 'López', 'Martínez', 'LópezMartí[email protected]'),
(214, 'Carla', 'Gutierrez', 'Perez', '[email protected]'),
(215, 'María Paula', 'Montoya', 'Gutierrez', '[email protected]'),
(216, 'Micaela', 'Alvarez', 'Domínguez', 'AlvarezDomí[email protected]'),
(217, 'Fabiana', 'Perez', 'Fernández', 'PerezFerná[email protected]'),
(218, 'Miranda', 'González', 'García', 'GonzálezGarcí[email protected]'),
(219, 'Josefina', 'Domínguez', 'Domínguez', 'DomínguezDomí[email protected]'),
(220, 'Laura', 'Alvarez', 'Gutierrez', '[email protected]'),
(221, 'Alexa', 'Sanchís', 'Hernandez', 'Sanchí[email protected]'),
(222, 'María Alejandra', 'Gutierrez', 'López', 'GutierrezLó[email protected]'),
(223, 'Luana', 'Fernández', 'López', 'FernándezLó[email protected]'),
(224, 'Fátima', 'Sancho', 'García', 'SanchoGarcí[email protected]'),
(225, 'Sara Sofía', 'Giménez', 'Fernández', 'GiménezFerná[email protected]'),
(226, 'Isidora', 'Gutierrez', 'González', 'GutierrezGonzá[email protected]'),
(227, 'Malena', 'Hernandez', 'Fernández', 'HernandezFerná[email protected]'),
(228, 'Romina', 'Sancho', 'García', 'SanchoGarcí[email protected]'),
(229, 'Ana Paula', 'González', 'Fernández', 'GonzálezFerná[email protected]'),
(230, 'Mariangel', 'Perez', 'Alvarez', '[email protected]'),
(231, 'Amelia', 'Alvarez', 'Domínguez', 'AlvarezDomí[email protected]'),
(232, 'Elizabeth', 'Giménez', 'Montoya', 'Gimé[email protected]'),
(233, 'Aitana', 'Martínez', 'Montoya', 'Martí[email protected]'),
(234, 'Ariadna', 'Gómez', 'García', 'GómezGarcí[email protected]'),
(235, 'María Camila', 'Giménez', 'Gutierrez', 'Gimé[email protected]'),
(236, 'Irene', 'García', 'Montoya', 'Garcí[email protected]'),
(237, 'Silvana', 'Perez', 'Domínguez', 'PerezDomí[email protected]'),
(238, 'Clara', 'Rodríguez', 'Alvarez', 'Rodrí[email protected]'),
(239, 'Magdalena', 'Gómez', 'Giménez', 'GómezGimé[email protected]'),
(240, 'Sophie', 'Sanchís', 'Domínguez', 'SanchísDomí[email protected]'),
(241, 'Josefa', 'Fernández', 'Montoya', 'Ferná[email protected]'),
(245, 'Rafael', 'asssss', 'sddddddd', 'rrrrrrrrrrrrrrr44'),
(247, 'josefa', '222', '333', '444'),
(248, 'qqqqqqq', 'wwwwwwwwwwwww', 'eeeeeeeeeeee', 'rrrrrrrrrrrrrrrrr'),
(249, 'rfv', 'edc', 'wsx', 'qaz'),
(250, 'asdfghjk', '112233', 'hyyyyy', '34eeeeeee');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `compra`
--
CREATE TABLE IF NOT EXISTS `compra` (
`id` int(6) NOT NULL,
`id_cliente` int(6) DEFAULT NULL,
`id_producto` int(6) DEFAULT NULL,
`cantidad` int(6) DEFAULT NULL,
`fecha` date DEFAULT NULL,
`id_factura` int(6) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=193 ;
--
-- Volcado de datos para la tabla `compra`
--
INSERT INTO `compra` (`id`, `id_cliente`, `id_producto`, `cantidad`, `fecha`, `id_factura`) VALUES
(2, 10, 2, 11, '2012-05-10', NULL),
(3, 188, 60, 248, '2013-08-04', NULL),
(5, 59, 44, 122, '1970-01-01', NULL),
(6, 131, 23, 154, NULL, NULL),
(7, 23, 16, 39, NULL, NULL),
(8, 77, 32, 109, NULL, NULL),
(9, 179, 27, 206, NULL, NULL),
(10, 61, 61, 122, NULL, NULL),
(11, 39, 8, 47, NULL, NULL),
(12, 49, 13, 157, '1970-01-01', NULL),
(13, 57, 92, 149, NULL, NULL),
(14, 98, 35, 133, NULL, NULL),
(15, 27, 79, 106, NULL, NULL),
(16, 9, 10, 19, NULL, NULL),
(17, 131, 63, 194, NULL, NULL),
(18, 121, 71, 192, NULL, NULL),
(19, 185, 96, 281, NULL, NULL),
(20, 173, 65, 238, NULL, NULL),
(21, 115, 34, 149, NULL, NULL),
(22, 32, 42, 74, NULL, NULL),
(23, 57, 37, 94, NULL, NULL),
(24, 144, 28, 172, NULL, NULL),
(25, 128, 91, 219, NULL, NULL),
(26, 40, 17, 57, NULL, NULL),
(27, 78, 82, 160, NULL, NULL),
(28, 59, 32, 91, NULL, NULL),
(29, 158, 51, 209, NULL, NULL),
(30, 45, 59, 104, NULL, NULL),
(31, 97, 88, 185, NULL, NULL),
(32, 187, 22, 209, '1970-01-01', NULL),
(33, 200, 74, 274, NULL, NULL),
(34, 36, 4, 40, NULL, NULL),
(35, 178, 68, 246, NULL, NULL),
(36, 104, 8, 112, NULL, NULL),
(37, 32, 17, 49, NULL, NULL),
(38, 168, 53, 221, NULL, NULL),
(39, 138, 58, 196, NULL, NULL),
(40, 165, 53, 218, NULL, NULL),
(41, 176, 85, 261, NULL, NULL),
(42, 80, 93, 173, NULL, NULL),
(43, 24, 3, 27, NULL, NULL),
(44, 59, 94, 153, NULL, NULL),
(45, 23, 69, 92, NULL, NULL),
(46, 37, 100, 137, NULL, NULL),
(47, 102, 99, 201, NULL, NULL),
(48, 65, 78, 143, NULL, NULL),
(49, 169, 85, 254, NULL, NULL),
(50, 173, 69, 242, NULL, NULL),
(51, 54, 80, 134, NULL, NULL),
(52, 98, 76, 174, NULL, NULL),
(53, 40, 31, 71, NULL, NULL),
(54, 112, 83, 195, NULL, NULL),
(55, 76, 19, 95, NULL, NULL),
(56, 45, 76, 121, NULL, NULL),
(57, 160, 41, 201, NULL, NULL),
(58, 131, 23, 154, NULL, NULL),
(59, 49, 3, 52, NULL, NULL),
(60, 1, 65, 999, '2014-01-25', 0),
(61, 28, 16, 44, NULL, NULL),
(62, 59, 70, 129, NULL, NULL),
(63, 195, 95, 290, NULL, NULL),
(64, 3, 72, 75, NULL, NULL),
(65, 67, 32, 99, NULL, NULL),
(66, 172, 53, 225, NULL, NULL),
(67, 82, 75, 157, NULL, NULL),
(68, 149, 58, 207, NULL, NULL),
(69, 113, 70, 183, NULL, NULL),
(70, 168, 45, 213, NULL, NULL),
(71, 88, 48, 136, NULL, NULL),
(72, 31, 20, 51, NULL, NULL),
(73, 193, 26, 219, NULL, NULL),
(74, 195, 20, 215, NULL, NULL),
(75, 87, 52, 139, NULL, NULL),
(76, 44, 77, 121, NULL, NULL),
(77, 179, 83, 262, NULL, NULL),
(78, 113, 11, 124, NULL, NULL),
(79, 179, 96, 275, NULL, NULL),
(80, 22, 78, 100, NULL, NULL),
(81, 154, 56, 210, NULL, NULL),
(82, 51, 28, 79, NULL, NULL),
(83, 116, 22, 138, NULL, NULL),
(84, 44, 98, 142, NULL, NULL),
(85, 179, 46, 225, NULL, NULL),
(86, 161, 45, 206, NULL, NULL),
(87, 144, 61, 205, NULL, NULL),
(88, 162, 35, 197, NULL, NULL),
(89, 197, 58, 255, NULL, NULL),
(90, 112, 53, 165, NULL, NULL),
(91, 21, 45, 66, NULL, NULL),
(92, 20, 58, 78, NULL, NULL),
(93, 74, 78, 152, NULL, NULL),
(94, 128, 30, 158, NULL, NULL),
(95, 27, 65, 92, NULL, NULL),
(96, 178, 42, 220, NULL, NULL),
(97, 32, 94, 126, NULL, NULL),
(98, 29, 18, 47, NULL, NULL),
(99, 36, 83, 119, NULL, NULL),
(100, 108, 91, 199, NULL, NULL),
(101, 172, 28, 200, NULL, NULL),
(102, 111, 70, 181, NULL, NULL),
(103, 66, 88, 154, NULL, NULL),
(104, 6, 18, 24, NULL, NULL),
(105, 7, 88, 95, NULL, NULL),
(106, 136, 12, 148, NULL, NULL),
(107, 142, 65, 207, NULL, NULL),
(108, 115, 38, 153, NULL, NULL),
(109, 135, 48, 183, NULL, NULL),
(110, 50, 19, 69, NULL, NULL),
(111, 183, 82, 265, NULL, NULL),
(112, 169, 55, 224, NULL, NULL),
(113, 22, 33, 55, NULL, NULL),
(114, 196, 15, 211, NULL, NULL),
(115, 190, 57, 247, NULL, NULL),
(116, 153, 87, 240, NULL, NULL),
(117, 131, 41, 172, NULL, NULL),
(118, 149, 10, 159, NULL, NULL),
(119, 7, 85, 92, NULL, NULL),
(120, 109, 85, 194, NULL, NULL),
(121, 200, 72, 272, NULL, NULL),
(122, 29, 62, 91, NULL, NULL),
(123, 169, 47, 216, NULL, NULL),
(124, 174, 78, 252, NULL, NULL),
(125, 75, 90, 165, NULL, NULL),
(126, 115, 78, 193, NULL, NULL),
(127, 75, 31, 106, NULL, NULL),
(128, 80, 52, 132, NULL, NULL),
(129, 140, 2, 141, '2000-01-31', 141),
(130, 24, 68, 92, NULL, NULL),
(131, 159, 60, 219, NULL, NULL),
(132, 30, 17, 47, NULL, NULL),
(133, 58, 32, 90, NULL, NULL),
(134, 152, 4, 156, NULL, NULL),
(135, 180, 20, 200, NULL, NULL),
(136, 61, 98, 159, NULL, NULL),
(137, 155, 25, 180, NULL, NULL),
(138, 161, 43, 204, NULL, NULL),
(139, 9, 30, 39, NULL, NULL),
(140, 101, 48, 149, NULL, NULL),
(141, 68, 80, 148, NULL, NULL),
(142, 118, 35, 153, NULL, NULL),
(143, 144, 89, 233, NULL, NULL),
(144, 147, 95, 242, NULL, NULL),
(145, 96, 38, 134, NULL, NULL),
(146, 132, 14, 146, NULL, NULL),
(147, 24, 98, 122, NULL, NULL),
(148, 64, 50, 114, NULL, NULL),
(149, 153, 64, 217, NULL, NULL),
(150, 42, 37, 79, NULL, NULL),
(151, 60, 47, 107, NULL, NULL),
(152, 121, 37, 158, NULL, NULL),
(153, 83, 65, 148, NULL, NULL),
(154, 70, 29, 99, NULL, NULL),
(155, 183, 94, 277, NULL, NULL),
(156, 89, 32, 121, NULL, NULL),
(157, 130, 80, 210, NULL, NULL),
(158, 95, 47, 142, NULL, NULL),
(159, 53, 29, 112, NULL, NULL),
(160, 23, 354, 2, NULL, NULL),
(161, 2, 4, 1, NULL, NULL),
(162, 1, 8, 1, '2013-10-20', 1),
(163, 1, 5, 22, NULL, NULL),
(167, 10, 5, 22, '2013-01-05', NULL),
(168, 14, 13, 2, '2013-11-10', NULL),
(169, 14, 12, 3, '2013-11-10', NULL),
(170, 22, 2, 4, '2013-11-11', NULL),
(171, 21, 1, 1, '2013-11-11', NULL),
(172, 67, 25, 22, '2013-03-11', NULL),
(173, 1, 12, 2, '2013-11-01', 2),
(174, 1, 11, 22, '2013-11-11', NULL),
(175, 22, 1, 22, '2012-02-11', NULL),
(177, 23, 5, 2, '2013-11-11', NULL),
(178, 1, 1, 2, '2013-11-11', NULL),
(179, 0, 0, 0, '2014-01-14', 0),
(180, 0, 0, 0, '2014-01-14', 0),
(181, 0, 0, 0, '2014-01-14', 0),
(182, 0, 0, 0, '2014-01-14', 0),
(183, 0, 0, 0, '2014-01-14', 0),
(184, 0, 0, 0, '2014-01-14', 0),
(185, 0, 0, 0, '2014-01-14', 0),
(186, 0, 0, 0, '2014-01-14', 0),
(187, 0, 0, 0, '2014-01-14', 0),
(188, 0, 0, 0, '2014-01-15', 0),
(189, 1, 2, 67, '2014-01-15', 67),
(190, 14, 1, 1, '2014-01-15', 1),
(191, 1, 1, 33, '2014-01-22', NULL),
(192, 2, 2, 66, '2014-01-01', 0);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `cuestionario`
--
CREATE TABLE IF NOT EXISTS `cuestionario` (
`id` int(11) NOT NULL COMMENT 'id',
`tipo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Tipo'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='cuestionario' AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `cuestionario`
--
INSERT INTO `cuestionario` (`id`, `tipo`) VALUES
(1, 'Deportes'),
(2, 'Viajes'),
(3, 'Coches'),
(4, 'Política'),
(5, 'Música'),
(6, 'Bebidas'),
(7, 'Restaurantes'),
(8, 'Estudios'),
(9, 'Juegos'),
(10, 'Cine'),
(11, 'Arte'),
(12, 'Compras'),
(13, 'Tecnologia'),
(14, 'Moviles'),
(15, 'Vacaciones'),
(16, 'Fin de semana'),
(17, 'Ocio'),
(18, 'Libros'),
(19, 'Redes sociales'),
(20, 'Animales');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `detalle_pedido`
--
CREATE TABLE IF NOT EXISTS `detalle_pedido` (
`id` int(11) NOT NULL COMMENT 'Identificador',
`cantidad` int(11) DEFAULT NULL COMMENT 'Cantidad',
`id_pedido` int(11) NOT NULL COMMENT 'Id Pedido',
`id_producto` int(11) NOT NULL COMMENT 'Id Producto'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=47 ;
--
-- Volcado de datos para la tabla `detalle_pedido`
--
INSERT INTO `detalle_pedido` (`id`, `cantidad`, `id_pedido`, `id_producto`) VALUES
(1, 272, 21, 337),
(2, 340, 15, 8),
(3, 621, 10, 279),
(4, 601, 5, 101),
(5, 591, 6, 389),
(6, 427, 12, 102),
(7, 568, 6, 298),
(8, 171, 12, 284),
(9, 567, 1, 25),
(10, 456, 21, 178),
(11, 130, 1, 49),
(12, 475, 14, 22),
(13, 292, 16, 301),
(14, 159, 3, 324),
(15, 20, 7, 299),
(16, 408, 5, 239),
(17, 593, 2, 61),
(18, 451, 22, 12),
(19, 330, 7, 328),
(20, 561, 21, 83),
(21, 578, 21, 95),
(22, 333, 8, 263),
(23, 182, 6, 219),
(24, 98, 4, 379),
(25, 461, 22, 262),
(26, 68, 12, 194),
(27, 75, 18, 343),
(28, 563, 7, 272),
(29, 321, 22, 337),
(30, 62, 2, 302),
(31, 592, 10, 59),
(32, 327, 8, 238),
(33, 265, 19, 179),
(34, 679, 4, 330),
(35, 577, 18, 313),
(36, 133, 12, 363),
(37, 386, 7, 305),
(38, 676, 9, 365),
(39, 178, 12, 161),
(40, 674, 10, 69),
(41, 281, 20, 341),
(42, 65, 16, 225),
(43, 8, 9, 130),
(44, 191, 2, 274),
(45, 623, 1, 340),
(46, 195, 18, 85);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `documento`
--
CREATE TABLE IF NOT EXISTS `documento` (
`id` int(6) NOT NULL COMMENT 'Num.',
`titulo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Titulo',
`contenido` longtext COLLATE utf8_unicode_ci COMMENT 'Contenido',
`alta` date DEFAULT NULL COMMENT 'Alta',
`cambio` date DEFAULT NULL COMMENT 'Cambio',
`hits` int(10) DEFAULT NULL COMMENT 'Hits',
`id_usuario` int(6) DEFAULT NULL COMMENT 'Usuario',
`etiquetas` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Etiquetas',
`publicado` tinyint(1) DEFAULT NULL COMMENT 'Publicado',
`portada` tinyint(1) DEFAULT NULL COMMENT 'Portada',
`destacado` tinyint(1) DEFAULT NULL COMMENT 'Destacado',
`id_tipodocumento` int(6) DEFAULT NULL COMMENT 'Tipo'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=50 ;
--
-- Volcado de datos para la tabla `documento`
--
INSERT INTO `documento` (`id`, `titulo`, `contenido`, `alta`, `cambio`, `hits`, `id_usuario`, `etiquetas`, `publicado`, `portada`, `destacado`, `id_tipodocumento`) VALUES
(1, 'drdrdrttt', '%3D%20Entrega%20de%20premios%20%3D%0D%0Asffsdf%0D%0A%0D%0AIntroducci%C3%B3n%0D%0A%0D%0A%20*%20ksjdlk%0D%0A%20*%20klk%C3%B1%0D%0A%20*%20k%C3%B1lk%C3%B1l%0D%0A%0D%0A//gdfg//%0D%0Adfgdf%0D%0Adfgdf%0D%0Adfgdfg%0D%0A%0D%0Adfgdfg%0D%0Adfgdf%0D%0Agggggggggggggg%20dgdfgdfgd%0D%0Ag%20dfgdfgdfgdfgd%0D%0Adfgdgdfdd%0D%0A', '2014-10-26', '2014-10-26', 16111, 3, 'ss222', 0, 0, 0, 5),
(2, 'doc%20de%20rafa1aaa', '%3DMi%20documento%2001%3D%0D%0A%0D%0A%20...', '2014-09-21', '2014-09-21', 411, 4, 'fssszzaaaaaaaaaaaaaaa', 1, 1, 0, 2),
(3, 'wwww1111', 'ggtttqqqd%20asdasdas%20das', '2014-09-28', '2014-09-28', 22, 5, 'gfhgf', 1, 1, 0, 3),
(4, 'sss', 'www', '2014-09-11', '2014-09-11', 0, 3, 'asd', 1, 1, 0, 2),
(5, 'DFGDFG', 'HDFHDF', '2014-09-16', '2014-09-16', 1, 2, 'aasx%20ssss', 1, 1, 0, 5),
(6, 'Mi doc', '[http://github.com|Github] \r\nhola =miau= [http://intel.com|Intel] \r\n hola ====jujujuj==== [http://google.es|Google]\r\n\r\n\r\n=rafa=\r\n\r\nHolaaaaaa\r\n\r\n==segundo titulo==\r\n\r\n<table class="table">\r\n<th><td>hola</td></th>\r\n</table>', '2013-11-19', NULL, 6, 5, 'rafa', NULL, NULL, NULL, NULL),
(7, 'doc de rafa', '=Mi documento 01=\r\n\r\n[http://materialesdaw-raznar.rhcloud.com|metriales daw] de rafa', '2013-11-20', NULL, 4, 4, 'f', NULL, NULL, NULL, NULL),
(8, 'swxxa%20sss%20s%20s%20', '', '2014-09-16', '2014-09-16', 0, 5, 'gfhgf', 1, 1, 0, 0),
(9, '', 'ssdwdwdss%20sssssss', '2014-09-16', '2014-09-16', 0, 3, '', 1, 1, 0, 0),
(10, 'DFGDFG', 'HDFHDF', '2013-11-20', NULL, 1, 1, '', NULL, NULL, NULL, NULL),
(19, 'assaaaaa', 'wedaaaa%20aaaaaaaaa%20cccc0000', '2014-10-15', '2014-10-15', 161, 4, 'aqw', 1, 1, 0, 9),
(22, 'd', 'dsds', '2014-09-21', '2014-09-21', 11, 1, 'd', 0, 0, 0, 4),
(23, 'd', 'dsds', '2014-09-21', '2014-09-21', 11, 1, 'd', 0, 0, 0, 4),
(24, 'd', 'dsds', '2014-09-21', '2014-09-21', 11, 1, 'd', 0, 0, 0, 4),
(25, 'c', 'sd', '2014-09-21', '2014-09-21', 2, 2, 'das', 1, 1, 1, 7),
(26, 'c', 'sd', '2014-09-21', '2014-09-21', 2, 2, 'das', 1, 1, 1, 7),
(27, 'c', 'sd', '2014-09-21', '2014-09-21', 2, 2, 'das', 1, 1, 1, 7),
(28, 'c', 'sd', '2014-09-21', '2014-09-21', 2, 2, 'das', 1, 1, 1, 7),
(29, 'dgdfgdfgdf', 'gdf', '2014-09-21', '2014-09-21', 555, 1, '53453', 0, 0, 0, 2),
(35, 'das', 'asdasd%20asdasd', '2014-09-28', '2014-09-28', 111, 2, 'ss%20%20sss%20s%20', 1, 1, 1, 10),
(36, 'dasd', 'asdas%20', '2014-09-28', '2014-09-28', 22, 1, 'ddd', 0, 1, 0, 2),
(37, 'ads', 'asd', '2014-09-28', '2014-09-28', 2, 1, 'das', 0, 0, 0, 3),
(38, 'fd', 'fsdfsd', '2014-09-28', '2014-09-28', 2, 1, 'dasd', 0, 0, 0, 3),
(39, 'fadf', 'sdf', '2014-09-28', '2014-09-28', 2222, 1, 'fsdf', 1, 1, 0, 3),
(41, 'fsd', 'sdf', '2014-09-28', '2014-09-28', 3, 1, 'fs', 0, 0, 0, 1),
(45, 'sdf', 'sdfaaaaaaaaaa', '2014-09-30', '2014-09-30', 3333, 1, 'fdsfsdf', 1, 1, 0, 1),
(46, 'hfghf', 'hf', '2014-10-19', '2014-10-19', 4, 1, 'hfg', 1, 1, 1, 6),
(47, 'hfgh', 'fhgh', '2014-10-24', '2014-10-24', 55, 1, '12%20rrr', 1, 1, 1, 2),
(48, 'gggggggg', 'hhhhhhhhhhh', '2014-10-25', '2014-10-25', 333, 2, 'gfdgdf%20rrrr', 1, 1, 1, 5);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `entrega`
--
CREATE TABLE IF NOT EXISTS `entrega` (
`id` int(11) NOT NULL COMMENT 'Id',
`nota` int(2) DEFAULT NULL COMMENT 'Nota',
`fecha` date DEFAULT NULL COMMENT 'Fecha Entrega',
`id_documento` int(11) DEFAULT NULL COMMENT 'Num Documento',
`id_actividad` int(11) DEFAULT NULL COMMENT 'Num Actividad'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `entrega`
--
INSERT INTO `entrega` (`id`, `nota`, `fecha`, `id_documento`, `id_actividad`) VALUES
(1, 5, '2014-10-09', 1, 1),
(2, 4, '2014-10-15', 2, 2),
(3, 5, '2014-10-07', 3, 3),
(4, 4, '2014-10-16', 4, 4),
(5, 5, '2014-10-15', 5, 5),
(6, 6, '2014-10-16', 6, 6),
(7, 7, '2014-10-17', 7, 7),
(8, 6, '2014-01-15', 8, 8),
(9, 9, '2014-11-15', 9, 9),
(10, 4, '2014-10-05', 10, 10),
(11, 4, '2014-10-12', 11, 11),
(12, 4, '2014-10-15', 12, 12),
(13, 4, '2014-05-15', 13, 13),
(14, 4, '2014-06-15', 14, 14),
(15, 4, '2014-10-08', 15, 15),
(16, 4, '2014-10-13', 16, 16),
(17, 5, '2014-07-17', 17, 17),
(18, 4, '2014-03-15', 18, 18),
(19, 4, '2014-02-02', 19, 19),
(20, 7, '2014-04-25', 20, 20);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `estado`
--
CREATE TABLE IF NOT EXISTS `estado` (
`id` int(11) NOT NULL COMMENT 'Identificador',
`tipo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Estado'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `estado`
--
INSERT INTO `estado` (`id`, `tipo`) VALUES
(1, 'Estoy contento'),
(2, 'Estoy feliz'),
(3, 'Estoy happy'),
(4, 'Estoy triste'),
(5, 'Estoy con fiebre'),
(6, 'Tengo fiebre'),
(7, 'En el gimnasio'),
(8, 'De quintos'),
(9, 'En el cine'),
(10, 'Estudiando'),
(11, 'En el trabajo'),
(12, 'Durmiendo'),
(13, 'En el baño...'),
(14, 'En el medico'),
(15, 'De fiesta'),
(16, 'Confuso'),
(17, 'Deprimido'),
(18, 'Fantastico'),
(19, 'OP'),
(20, 'rafa es el mejor');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `impuesto`
--
CREATE TABLE IF NOT EXISTS `impuesto` (
`id` int(11) NOT NULL COMMENT 'Identificador',
`nombre` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Impuesto',
`valor` decimal(4,2) DEFAULT NULL COMMENT 'Valor Impuesto'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=23 ;
--
-- Volcado de datos para la tabla `impuesto`
--
INSERT INTO `impuesto` (`id`, `nombre`, `valor`) VALUES
(1, 'iva 1', '1.00'),
(2, 'iva 2', '2.00'),
(3, 'iva 3', '3.00'),
(4, 'iva 4', '4.00'),
(5, 'iva 5', '5.00'),
(6, 'iva 6', '6.00'),
(7, 'iva 7', '7.00'),
(8, 'iva 8', '8.00'),
(9, 'iva 9', '9.00'),
(10, 'iva 10', '10.00'),
(11, 'iva 11', '11.00'),
(12, 'iva 12', '12.00'),
(13, 'iva 13', '13.00'),
(14, 'iva 14', '14.00'),
(15, 'iva 15', '15.00'),
(16, 'iva 16', '16.00'),
(17, 'iva 17', '17.00'),
(18, 'iva 18', '18.00'),
(19, 'iva 19', '19.00'),
(20, 'iva 20', '20.00'),
(21, 'iva 21', '21.00'),
(22, 'iva 22', '22.00');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `mensajeprivado`
--
CREATE TABLE IF NOT EXISTS `mensajeprivado` (
`id` int(6) NOT NULL COMMENT 'ID',
`id_usuario_1` int(6) DEFAULT NULL COMMENT 'ID Usuario envía',
`id_usuario_2` int(6) DEFAULT NULL COMMENT 'ID Usuario recibe',
`asunto` varchar(255) DEFAULT NULL COMMENT 'Asunto',
`mensaje` longtext COMMENT 'Mensaje',
`leido` tinyint(1) DEFAULT NULL COMMENT 'Leído'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `mensajeprivado`
--
INSERT INTO `mensajeprivado` (`id`, `id_usuario_1`, `id_usuario_2`, `asunto`, `mensaje`, `leido`) VALUES
(1, 1, 29, 'Lorem ipsum dolor sit amet', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.', 0),
(2, 4, 23, 'Donec quam felis', 'Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo.', 1),
(3, 2, 7, 'Nullam dictum felis eu pede mollis pretium', 'Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus.', 1),
(4, 15, 16, 'Phasellus viverra nulla ut metus varius laoreet', 'Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus.', 0),
(5, 8, 9, 'Maecenas tempus, tellus eget condimentum rhoncus', 'Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus.', 1),
(6, 18, 12, 'Donec vitae sapien ut libero venenatis faucibus', 'Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, ', 0),
(7, 11, 6, 'Sed consequat, leo eget bibendum sodales', 'Sed consequat, leo eget bibendum sodales, augue velit cursus nunc, quis gravida magna mi a libero. Fusce vulputate eleifend sapien. Vestibulum purus quam, scelerisque ut, mollis sed, nonummy id, metus. Nullam accumsan lorem in dui. Cras ultricies mi eu turpis hendrerit fringilla.', 1),
(8, 30, 29, 'Maecenas nec odio et ante tincidunt tempus', 'Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna.', 1),
(9, 13, 14, 'Aenean imperdiet. Etiam ultricies nisi vel augue', 'Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem.', 0),
(10, 6, 5, 'Vivamus elementum semper nisi', 'Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum.', 1),
(11, 19, 24, 'Nulla consequat massa quis enim', 'Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus.', 1),
(12, 24, 23, 'Vestibulum ante ipsum primis in faucibus', 'Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; In ac dui quis mi consectetuer lacinia. Nam pretium turpis et arcu. Duis arcu tortor, suscipit eget, imperdiet nec, imperdiet iaculis, ipsum. Sed aliquam ultrices mauris. Integer ante arcu, accumsan a, consectetuer eget, posuere ut, mauris. Praesent adipiscing. Phasellus ullamcorper ipsum rutrum nunc. Nunc nonummy metus. Vestibulum volutpat pretium libero. Cras id dui. Aenean ut ', 0),
(13, 17, 15, 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit', 'Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem.', 0),
(14, 15, 9, 'Quis autem vel eum iure reprehenderit', 'Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?', 1),
(15, 3, 27, 'At vero eos et accusamus et iusto odio', 'At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga. Et harum quidem rerum facilis est et expedita distinctio.', 1),
(16, 25, 29, 'Nam libero tempore, cum soluta nobis est eligendi', 'Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus. Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus saepe eveniet ut et voluptates repudiandae sint et molestiae non recusandae.', 1),
(17, 6, 1, 'Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet', 'Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?', 1),
(18, 17, 11, 'Nemo enim ipsam voluptatem', 'Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.', 0),
(19, 22, 21, 'Sed ut perspiciatis unde omnis iste natus error', 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.', 1),
(20, 28, 29, 'Y, viéndole don Quijote de aquella manera', 'Y, viéndole don Quijote de aquella manera, con muestras de tanta tristeza, le dijo: Sábete, Sancho, que no es un hombre más que otro si no hace más que otro.', 1);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `metadocumento`
--
CREATE TABLE IF NOT EXISTS `metadocumento` (
`id` int(11) NOT NULL COMMENT 'Id',
`titulo` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Tiulo Documento',
`fecha` date DEFAULT NULL COMMENT 'Fecha Documento'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `metadocumento`
--
INSERT INTO `metadocumento` (`id`, `titulo`, `fecha`) VALUES
(1, 'Victor', '2013-11-29'),
(2, 'Cristian', '2013-11-29'),
(3, 'Enrique', '2013-11-28'),
(4, 'Jordi', '2013-11-26'),
(5, 'Alvaro', '2013-11-30'),
(6, 'Jacobo', '2013-11-19'),
(7, 'Pilar', '2014-10-07'),
(8, 'Pablo', '2013-11-12'),
(9, 'Pedro', '2013-11-13'),
(10, 'Juancarlos', '2013-10-14'),
(11, 'Andres', '2013-10-15'),
(12, 'Raul', '2013-10-16'),
(13, 'Cristina', '2013-10-17'),
(14, 'Antonio', '2013-10-18'),
(15, 'Jose', '2013-10-19'),
(16, 'Ramon', '2013-10-20'),
(17, 'Andrea', '2013-10-21'),
(18, 'Laura', '2013-10-22'),
(19, 'Marta', '2013-10-23'),
(20, 'Silvia', '2013-10-24');
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `metadocumentos`
--
CREATE TABLE IF NOT EXISTS `metadocumentos` (
`id` int(11) NOT NULL COMMENT 'Id Documento',
`orden` int(11) DEFAULT NULL COMMENT 'Orden Documento',
`id_documento` int(11) DEFAULT NULL COMMENT 'Numero de Documento',
`id_metadocumento` int(11) DEFAULT NULL COMMENT 'Numero de Metadocumento'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=21 ;
--
-- Volcado de datos para la tabla `metadocumentos`
--
INSERT INTO `metadocumentos` (`id`, `orden`, `id_documento`, `id_metadocumento`) VALUES
(1, 8, 1, 1),
(2, 8, 2, 2),
(3, 8, 3, 3),
(4, 7, 4, 4),
(5, 8, 5, 5),
(6, 7, 6, 6),
(7, 8, 7, 7),
(8, 7, 8, 8),
(9, 8, 9, 9),
(10, 7, 10, 10),
(11, 8, 11, 11),
(12, 7, 12, 12),
(13, 8, 13, 13),
(14, 7, 14, 14),
(15, 8, 15, 15),
(16, 7, 16, 16),
(17, 8, 17, 17),
(18, 7, 18, 18),
(19, 8, 19, 19),
(20, 7, 20, 20);
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `opcion`
--
CREATE TABLE IF NOT EXISTS `opcion` (
`id` int(11) NOT NULL COMMENT 'id',
`valor` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL COMMENT 'Valor',
`id_pregunta` int(11) DEFAULT NULL COMMENT 'Pregunta'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci COMMENT='opcion' AUTO_INCREMENT=257 ;
--
-- Volcado de datos para la tabla `opcion`
--
INSERT INTO `opcion` (`id`, `valor`, `id_pregunta`) VALUES
(1, 'Barcelona', 1),
(2, 'Real Madrid', 1),
(3, 'Valencia', 1),
(4, 'Sevilla', 1),
(5, 'Mucho', 2),
(6, 'Poco', 2),
(7, 'Nada', 2),
(8, 'Todos los meses', 2),
(9, 'Mas de 10 veces', 3),
(10, 'Mas de 5 veces', 3),
(11, 'Alguna vez', 3),
(12, 'No', 3),
(13, 'Avion', 4),
(14, 'Tren', 4),
(15, 'Autobus', 4),
(16, 'Coche', 4),
(17, 'Hotel', 5),
(18, 'Motel', 5),
(19, 'Apartamento', 5),
(20, 'Anden', 5),
(21, 'Futbol', 6),
(22, 'Baloncesto', 6),
(23, 'Petanca', 6),
(24, 'Deportes de riesgo', 6),
(25, 'Futbol', 7),
(26, 'Correr', 7),
(27, 'Natacion', 7),
(28, 'Otros', 7),
(29, 'Alguna vez', 8),
(30, 'Si', 8),
(31, 'No', 8),
(32, 'Nunca', 8),
(33, 'Siempre', 9),
(34, 'Si', 9),
(35, 'Alguna vez', 9),
(36, 'Nunca', 9),
(37, 'Rock', 10),
(38, 'Pop', 10),
(39, 'Bisbal', 10),
(40, 'Soy sordo', 10),
(41, '00`', 11),