Professional Documents
Culture Documents
Login_role_id
Login_username
Login_id
User_password
Login
user_name
user_mobile Role_id
Role_name
user_id
user_pass Per_role_id
Per_id
Per_module
Stu_id Permission
Per_name
Stu_name Stu_add
Fee_desc
Student Manager Fee_collec
Fee_id
Stu_mobile Stu_pass Fee_amt
Fee_stu_id
Stu_email Fee_type
Member Memb_email
Memb_add
Memb_mob
Memb_id
Memb_name
Has
Book_maintenance
Mnt_id Mnt_disc
Mnt_type
Database and Tables
Database creation:
Login Table
Command:
CREATE TABLE Login(Login_id int not null primary key, Login_role_id int,
Login_username varchar(20),User_password varchar(30));
DESC Login;
User Table
Command:
CREATE TABLE User(User_id int not null primary key, User_name varchar(30),
User_email varchar(30), User_mobile varchar(10),User_password varchar(20));
DESC User;
Roles Table
Roles Table
Command:
CREATE TABLE Roles(Role_id int not null primary key, Role_name varchar(30),
Role_disc varchar(30));
DESC Roles;
Permission Table
Command:
CREATE TABLE Permission(Per_id int not null primary key, Per_role_id int,
Per_name varchar(30), Per_module varchar(30));
DESC Permission;
Student Table
Command:
CREATE TABLE Student(Stu_id int not null primary key, Stu_name varchar(30),
Stu_mobile varchar(10), Stu_email varchar(30),Stu_address varchar(50),
Stu_password varchar(20));
DESC Student;
Fees Collection Table
Command-
CREATE TABLE Fee_collection(Fee_id int not null primary key,
Fee_stu_id int, fee_type varchar(30), Fee_amt int, Fee_disc varchar(30));
DESC Fee_collection;
Member Table
Command:
Book_maintenance Table
Command: