-
Notifications
You must be signed in to change notification settings - Fork 0
/
spring.sql
75 lines (57 loc) · 1.96 KB
/
spring.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
--
-- Database: `spring`
--
-- --------------------------------------------------------
--
-- Table structure for table `E_BOOK`
--
CREATE TABLE `E_BOOK` (
`CALLNO` varchar(200) NOT NULL PRIMARY KEY,
`NAME` varchar(200) DEFAULT NULL,
`AUTHOR` varchar(200) DEFAULT NULL,
`PUBLISHER` varchar(200) DEFAULT NULL,
`QUANTITY` int(11) DEFAULT NULL,
`ISSUED` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `E_BOOK`
--
INSERT INTO `E_BOOK` (`CALLNO`, `NAME`, `AUTHOR`, `PUBLISHER`, `QUANTITY`, `ISSUED`) VALUES
('12345', 'Maths', 'RS', 'NCERT', 20, 0),
('12346', 'CS', 'Raghula', 'yui', 12, NULL);
-- --------------------------------------------------------
--
-- Table structure for table `E_ISSUEBOOK`
--
CREATE TABLE `E_ISSUEBOOK` (
`CALLNO` varchar(200) DEFAULT NULL,
`STUDENTID` varchar(200) DEFAULT NULL,
`STUDENTNAME` varchar(200) DEFAULT NULL,
`STUDENTMOBILE` bigint(15) DEFAULT NULL,
`RETURNSTATUS` varchar(200) DEFAULT 'NO'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `E_ISSUEBOOK`
--
INSERT INTO `E_ISSUEBOOK` (`CALLNO`, `STUDENTID`, `STUDENTNAME`, `STUDENTMOBILE`, `RETURNSTATUS`) VALUES
('12345', '1234', 'Shubham', 9004318447, 'YES'),
('12345', '1234', 'Shubham', 9004318447, 'YES');
-- --------------------------------------------------------
--
-- Table structure for table `E_LIBRARIAN`
--
CREATE TABLE `E_LIBRARIAN` (
`EMAIL` varchar(200) NOT NULL PRIMARY KEY,
`PASS` varchar(200) DEFAULT NULL,
`NAME` varchar(200) DEFAULT NULL,
`MOBILE` bigint(15) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `E_LIBRARIAN`
--
INSERT INTO `E_LIBRARIAN` (`EMAIL`, `PASS`, `NAME`, `MOBILE`) VALUES
('s@gmail.com', 'qwer', 'shiva', 9004318556),
('st1@gmail.com', '1234rt', 'buy men', 9004318556),
('st@gmail.com', '1234', 'yomen', 9004318446),
('tiwari.23.shubham@gmail.com', '12345', 'Shubham', 9004318447);
-- --------------------------------------------------------