Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Book management system
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Oviya Balamurugan
Book management system
Commits
5583e0b1
Commit
5583e0b1
authored
4 years ago
by
Oviya Balamurugan
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
f93c7426
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pro.sql
+200
-0
200 additions, 0 deletions
pro.sql
with
200 additions
and
0 deletions
pro.sql
0 → 100644
+
200
−
0
View file @
5583e0b1
-- phpMyAdmin SQL Dump
-- version 5.0.4
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Dec 27, 2020 at 04:15 PM
-- Server version: 10.4.17-MariaDB
-- PHP Version: 8.0.0
SET
SQL_MODE
=
"NO_AUTO_VALUE_ON_ZERO"
;
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: `pro`
--
-- --------------------------------------------------------
--
-- Table structure for table `admin`
--
CREATE
TABLE
`admin`
(
`AID`
int
(
11
)
NOT
NULL
,
`ANAME`
varchar
(
150
)
NOT
NULL
,
`APASS`
varchar
(
150
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `admin`
--
INSERT
INTO
`admin`
(
`AID`
,
`ANAME`
,
`APASS`
)
VALUES
(
1
,
'admin'
,
'admin'
);
-- --------------------------------------------------------
--
-- Table structure for table `book`
--
CREATE
TABLE
`book`
(
`BID`
int
(
11
)
NOT
NULL
,
`BTITLE`
varchar
(
150
)
NOT
NULL
,
`KEYWORDS`
varchar
(
150
)
NOT
NULL
,
`FILE`
varchar
(
150
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `book`
--
INSERT
INTO
`book`
(
`BID`
,
`BTITLE`
,
`KEYWORDS`
,
`FILE`
)
VALUES
(
1
,
'CUL102 Notes 2015'
,
'cul,cultural,CUL102'
,
'upload/CUL102 Notes 2015.pdf'
),
(
2
,
'CORE LAB'
,
'test'
,
'upload/CORE Lab Call for developers 2020 - Google Docs (1).pdf'
);
-- --------------------------------------------------------
--
-- Table structure for table `comment`
--
CREATE
TABLE
`comment`
(
`CID`
int
(
11
)
NOT
NULL
,
`BID`
int
(
11
)
NOT
NULL
,
`SID`
int
(
11
)
NOT
NULL
,
`COMM`
varchar
(
150
)
NOT
NULL
,
`LOGS`
datetime
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `comment`
--
INSERT
INTO
`comment`
(
`CID`
,
`BID`
,
`SID`
,
`COMM`
,
`LOGS`
)
VALUES
(
4
,
1
,
1
,
'Nice book'
,
'2020-12-06 16:29:41'
);
-- --------------------------------------------------------
--
-- Table structure for table `request`
--
CREATE
TABLE
`request`
(
`RID`
int
(
11
)
NOT
NULL
,
`ID`
int
(
11
)
NOT
NULL
,
`MES`
text
NOT
NULL
,
`LOGS`
datetime
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `request`
--
INSERT
INTO
`request`
(
`RID`
,
`ID`
,
`MES`
,
`LOGS`
)
VALUES
(
1
,
1
,
'Need cul book'
,
'2020-12-04 16:29:41'
),
(
2
,
1
,
'I need R-program book'
,
'2020-12-27 19:18:20'
);
-- --------------------------------------------------------
--
-- Table structure for table `student`
--
CREATE
TABLE
`student`
(
`ID`
int
(
11
)
NOT
NULL
,
`NAME`
varchar
(
150
)
NOT
NULL
,
`PASS`
varchar
(
150
)
NOT
NULL
,
`MAIL`
varchar
(
150
)
NOT
NULL
,
`DEP`
varchar
(
150
)
NOT
NULL
)
ENGINE
=
InnoDB
DEFAULT
CHARSET
=
latin1
;
--
-- Dumping data for table `student`
--
INSERT
INTO
`student`
(
`ID`
,
`NAME`
,
`PASS`
,
`MAIL`
,
`DEP`
)
VALUES
(
1
,
'oviya'
,
'1234'
,
'oviya@gmail.com'
,
'cse'
),
(
2
,
'Sara'
,
'1234'
,
'sara@gmail.com'
,
'BCA'
),
(
4
,
'jerry'
,
'4321'
,
'jerry@gmail.com'
,
'BCA'
);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `admin`
--
ALTER
TABLE
`admin`
ADD
PRIMARY
KEY
(
`AID`
);
--
-- Indexes for table `book`
--
ALTER
TABLE
`book`
ADD
PRIMARY
KEY
(
`BID`
);
--
-- Indexes for table `comment`
--
ALTER
TABLE
`comment`
ADD
PRIMARY
KEY
(
`CID`
);
--
-- Indexes for table `request`
--
ALTER
TABLE
`request`
ADD
PRIMARY
KEY
(
`RID`
);
--
-- Indexes for table `student`
--
ALTER
TABLE
`student`
ADD
PRIMARY
KEY
(
`ID`
);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `admin`
--
ALTER
TABLE
`admin`
MODIFY
`AID`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
2
;
--
-- AUTO_INCREMENT for table `book`
--
ALTER
TABLE
`book`
MODIFY
`BID`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
6
;
--
-- AUTO_INCREMENT for table `comment`
--
ALTER
TABLE
`comment`
MODIFY
`CID`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
--
-- AUTO_INCREMENT for table `request`
--
ALTER
TABLE
`request`
MODIFY
`RID`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
3
;
--
-- AUTO_INCREMENT for table `student`
--
ALTER
TABLE
`student`
MODIFY
`ID`
int
(
11
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
5
;
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 */
;
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment