-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlibrary.sql
More file actions
80 lines (65 loc) · 2.34 KB
/
Copy pathlibrary.sql
File metadata and controls
80 lines (65 loc) · 2.34 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
-- phpMyAdmin SQL Dump
-- version 4.9.0.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Nov 01, 2019 at 05:01 PM
-- Server version: 10.3.16-MariaDB
-- PHP Version: 7.1.30
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: `library`
--
-- --------------------------------------------------------
--
-- Table structure for table `books`
--
CREATE TABLE `books` (
`bid` int(100) NOT NULL,
`name` varchar(100) NOT NULL,
`authors` varchar(100) NOT NULL,
`edition` varchar(100) NOT NULL,
`status` varchar(100) NOT NULL,
`quantity` int(100) NOT NULL,
`department` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `books`
--
INSERT INTO `books` (`bid`, `name`, `authors`, `edition`, `status`, `quantity`, `department`) VALUES
(1, 'book a', 'author a', '2nd', 'available', 25, 'Mechanics'),
(2, 'book b', 'author b', '3rd', 'available', 30, 'Computer'),
(3, 'book c', 'author c', '2nd', 'available', 30, 'Computer'),
(4, 'book c', 'author b', '3rd', 'available', 30, 'Computer'),
(5, 'book b', 'author b', '2nd', 'available', 30, 'ETC');
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
CREATE TABLE `student` (
`first` varchar(100) NOT NULL,
`last` varchar(100) NOT NULL,
`username` varchar(100) NOT NULL,
`password` varchar(100) NOT NULL,
`roll` int(100) NOT NULL,
`email` varchar(100) NOT NULL,
`contact` int(100) NOT NULL,
`pic` varchar(100) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
--
-- Dumping data for table `student`
--
INSERT INTO `student` (`first`, `last`, `username`, `password`, `roll`, `email`, `contact`, `pic`) VALUES
('Amatya', 'Katyayan', 'Amatya', 'password@123', 1814003, 'abc@gmail.com', 1234567890, 'p.jpg'),
('Amatya', 'Katyayan', 'Amatya', 'password@123', 1814003, 'abc@gmail.com', 1234567890, 'p.jpg');
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 */;