-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpeliculas.sql
69 lines (59 loc) · 2.19 KB
/
peliculas.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
-- phpMyAdmin SQL Dump
-- version 4.2.7.1
-- http://www.phpmyadmin.net
--
-- Servidor: 127.0.0.1
-- Tiempo de generación: 24-04-2016 a las 00:37:11
-- Versión del servidor: 5.6.20
-- Versión de PHP: 5.5.15
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: `peliculas`
--
-- --------------------------------------------------------
--
-- Estructura de tabla para la tabla `pelicula`
--
CREATE TABLE IF NOT EXISTS `pelicula` (
`id_pelicula` int(11) NOT NULL,
`nombre` varchar(50) NOT NULL,
`ponderacion` int(11) NOT NULL,
`identificador` varchar(50) NOT NULL,
`url` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;
--
-- Volcado de datos para la tabla `pelicula`
--
INSERT INTO `pelicula` (`id_pelicula`, `nombre`, `ponderacion`, `identificador`, `url`) VALUES
(1, 'Batman', 5, 'tt0096895', 'http://www.imdb.com/title/tt0096895'),
(2, 'La caza al Octubre Rojo', 5, 'tt0099810', 'http://www.imdb.com/title/tt0099810'),
(3, 'GoldenEye', 5, 'tt0113189', 'http://www.imdb.com/title/tt0113189'),
(4, 'American Pie', 2, 'tt0163651', 'http://www.imdb.com/title/tt0163651'),
(5, 'El silencio de los inocentes', 5, 'tt0102926', 'http://www.imdb.com/title/tt0102926'),
(6, 'Das Boot', 5, 'tt0082096', 'http://www.imdb.com/title/tt0082096'),
(7, 'Gladiador', 5, 'tt0172495', 'http://www.imdb.com/title/tt0172495'),
(8, 'Le prenom', 5, 'tt2179121', 'http://www.imdb.com/title/tt2179121'),
(9, 'Los indestructibles', 2, 'tt1320253', 'http://www.imdb.com/title/tt1320253'),
(10, 'Scream', 3, 'tt0117571', 'http://www.imdb.com/title/tt0117571'),
(11, 'Zoolander', 5, 'tt0196229', 'http://www.imdb.com/title/tt0196229');
--
-- Índices para tablas volcadas
--
--
-- Indices de la tabla `pelicula`
--
ALTER TABLE `pelicula`
ADD PRIMARY KEY (`id_pelicula`);
--
-- AUTO_INCREMENT de las tablas volcadas
--
--
-- AUTO_INCREMENT de la tabla `pelicula`
--
ALTER TABLE `pelicula`
MODIFY `id_pelicula` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=12;