-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathDatabase
More file actions
84 lines (76 loc) · 2.16 KB
/
Copy pathDatabase
File metadata and controls
84 lines (76 loc) · 2.16 KB
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
-- --------------------------------------------------------
--
-- Base de datos del proyecto AusiasYield
-- Noviembre de 2013
-- Segundo de DAW - CPIFP Ausias March
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `bolsa`
-- Sergio Martín Tárraga
--
CREATE TABLE IF NOT EXISTS `bolsa` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`id_documento1` int(6) DEFAULT NULL,
`id_documento2` int(6) DEFAULT NULL,
`fecha` date DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8_unicode_ci AUTO_INCREMENT=11 ;
--
-- Volcado de datos para la tabla `bolsa`
--
INSERT INTO `bolsa` (`id`, `id_documento1`, `id_documento2`, `fecha`) VALUES
(1, 6, 1, '2013-10-31'),
(2, 5, 2, '2013-10-30'),
(3, 5, 3, '2013-10-29'),
(4, 1, 4, '2013-10-28'),
(5, 6, 5, '2013-10-27'),
(6, 5, 6, '2013-10-26'),
(7, 4, 7, '2013-10-25'),
(8, 3, 8, '2013-10-24'),
(9, 2, 9, '2013-10-23'),
(10, 1, 10, '2013-10-22');
--
-- Estructura de tabla para la tabla `usuario`
-- Sergio Martín Tárraga
--
CREATE TABLE IF NOT EXISTS `usuario` (
`id` int(6) NOT NULL AUTO_INCREMENT,
`login` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
`password` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci AUTO_INCREMENT=31 ;
--
-- Volcado de datos para la tabla `usuario`
--
INSERT INTO `usuario` (`id`, `login`, `password`) VALUES
(1, 'pepe', 'pepe'),
(2, 'juan', 'juan'),
(3, 'maria', 'maria'),
(4, 'antonia', 'antonia'),
(5, 'edu', 'edu'),
(6, 'jose', 'jose'),
(7, 'silvia', 'silvia'),
(8, 'pedro', 'pedro'),
(9, 'raquel', 'raquel'),
(10, 'daniel', 'daniel'),
(11, 'rafael', 'rafael'),
(12, 'juan', 'juan'),
(13, 'elena', 'elena'),
(14, 'luis', 'luis'),
(15, 'alba', 'alba'),
(16, 'amparo', 'amparo'),
(17, 'ambrosio', 'ambrosio'),
(18, 'luisa', 'luisa'),
(19, 'leon', 'leon'),
(20, 'rosa', 'rosa'),
(21, 'capcom', 'capcom'),
(22, 'teleco', 'teleco'),
(23, 'mercadona', 'mercadona'),
(24, 'vistaprint', 'vistaprint'),
(25, 'google', 'google'),
(26, 'konami', 'konami'),
(27, 'orange', 'orange'),
(28, 'samsung', 'samsung'),
(29, 'gigabyte', 'gigabyte'),
(30, 'microsoft', 'microsoft');