forked from scomsjw/SD-PHP-Two
-
Notifications
You must be signed in to change notification settings - Fork 0
/
2_films.sql
83 lines (69 loc) · 1.93 KB
/
2_films.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
-- phpMyAdmin SQL Dump
-- version 4.7.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Oct 18, 2018 at 04:31 PM
-- Server version: 10.1.26-MariaDB
-- PHP Version: 7.0.22
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
START TRANSACTION;
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 utf8mb4 */;
--
-- Database: `simple-example`
--
-- --------------------------------------------------------
--
-- Table structure for table `films`
--
CREATE TABLE `films` (
`id` int(11) UNSIGNED NOT NULL,
`title` varchar(100) NOT NULL,
`year` smallint(6) NOT NULL,
`duration` smallint(6) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `films`
--
INSERT INTO `films` (`id`, `title`, `year`, `duration`) VALUES
(1, 'Jaws', 1975, 124),
(2, 'Winter\'s Bone', 2010, 100),
(3, 'Do The Right Thing', 1989, 120),
(4, 'The Incredibles', 2004, 115),
(5, 'The Godfather', 1972, 177),
(6, 'Dangerous Minds', 1995, 99),
(7, 'Spirited Away', 2001, 124),
(8, 'Moonlight', 2016, 111),
(9, 'Life of PI', 2012, 127),
(10, 'Gravity', 2013, 91),
(11, 'Arrival', 2016, 116),
(12, 'Wonder Woman', 2017, 141),
(13, 'Mean Girls', 2004, 97),
(14, 'Inception', 2010, 108),
(15, 'Donnie Darko', 2001, 113),
(16, 'Get Out', 2017, 117);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `films`
--
ALTER TABLE `films`
ADD PRIMARY KEY (`id`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `films`
--
ALTER TABLE `films`
MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;