-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdatabse.sql
executable file
·57 lines (41 loc) · 2.7 KB
/
databse.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
/*
SQLyog Ultimate - MySQL GUI v8.21
MySQL - 5.1.29-rc-community : Database - project
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`project` /*!40100 DEFAULT CHARACTER SET latin1 */;
USE `project`;
/*Table structure for table `movies` */
DROP TABLE IF EXISTS `movies`;
CREATE TABLE `movies` (
`Id` int(11) DEFAULT NULL,
`movie` varchar(100) DEFAULT NULL,
`description` varchar(300) DEFAULT NULL,
`Mid` int(11) NOT NULL AUTO_INCREMENT,
UNIQUE KEY `Mid` (`Mid`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=latin1;
/*Data for the table `movies` */
insert into `movies`(`Id`,`movie`,`description`,`Mid`) values (4,'Toy Story (1995)','Toy Story is a 1995 American computer-animated comedy film',3),(4,'Money Heist','Money Heist is a Spanish heist crime drama television series in Spain',4),(4,'John Wick','John Wick is an American neo-noir action-thriller media franchise starring Keanu Reeves as John Wick hamsof',6),(2,'hafiz abdulmanan','hamsof is great whao',7),(4,'Robot 2.0 ','A fiction movie',8),(4,'Breaking Bad','A beautiful action and thrill series on Meth',10),(4,'Dirilis: Ertugrul','A classis Muslim darama',13),(8,'Ghalib','Movie on a great poet',16),(4,'','',17);
/*Table structure for table `signup` */
DROP TABLE IF EXISTS `signup`;
CREATE TABLE `signup` (
`email` varchar(100) NOT NULL,
`name` varchar(100) DEFAULT NULL,
`age` int(11) DEFAULT NULL,
`isAdmin` tinyint(1) DEFAULT NULL,
`password` varchar(100) DEFAULT NULL,
`Id` int(11) NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`Id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
/*Data for the table `signup` */
insert into `signup`(`email`,`name`,`age`,`isAdmin`,`password`,`Id`) values ('[email protected]','hamsof',24,1,'123',1),('[email protected]','hamza saleem',12,0,'124',2),('[email protected]','kashir',22,0,'123',3),('[email protected]','HAFIZ',22,0,'123',4),('[email protected]','asa',12,0,'123',5),('[email protected]','hamza saleem ',22,0,'123',6),('[email protected]','ahmad',22,0,'123',7),('[email protected]','Ali Khan',80,0,'123',8),('[email protected]','Hasaan',20,0,'123',9);
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;