0% found this document useful (0 votes)
43 views3 pages

Database Tables

This document describes 8 database tables used to store information for a school management system. The tables include studentinfo, teacherinfo, and staffinfo to store personal details of students, teachers, and staff. Book borrowing details are stored in studentissue, teacherissue, and staffissue tables. The bookdetails table contains book information. An login table stores usernames and passwords. Each table defines the fields, data types, and primary keys.

Uploaded by

Neethu Sathyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

Database Tables

This document describes 8 database tables used to store information for a school management system. The tables include studentinfo, teacherinfo, and staffinfo to store personal details of students, teachers, and staff. Book borrowing details are stored in studentissue, teacherissue, and staffissue tables. The bookdetails table contains book information. An login table stores usernames and passwords. Each table defines the fields, data types, and primary keys.

Uploaded by

Neethu Sathyan
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 3

* Database Tables *

1) studentinfo (Teacher information)


Field
rollno fname mname lname bdate year gender faculty class cardno. address

Data type
Number(10) Varchar2(20) Varchar2(20) Varchar2(20) Date Varchar2(20) Varchar2(10) Varchar2(20) Varchar2(20) Number(10) Varchar2(400)

Keys
Primary

Primary Primary Primary Primary

2) teacherinfo (Teacher information)


Field
fname mname lname bdate year gender cardno. department address

Data type
Varchar2(20) Varchar2(20) Varchar2(20) Date Varchar2(20) Varchar2(10) Number(10) Varchar2(20) Varchar2(400)

Keys

Primary Primary

3) staffinfo (Staff information)


Field
fname mname lname bdate year gender cardno. address

Data type
Varchar2(20) Varchar2(20) Varchar2(20) Date Varchar2(20) Varchar2(10) Number(10) Varchar2(400)

Keys

Primary Primary

19

4) studentissue (Student books issue/return information)


Field
bookid cardno. rollno faculty class year issuedate return returndate

Data type
Varchar2(20) Number(10) Number(10) Varchar2(10) Varchar2(10) Varchar2(20) Date Varchar2(10) Date

Keys
Foreign key Primary, Foreign key Foreign key Foreign key Foreign key Foreign key Primary Primary

5) teacherissue (Teacher books issue/return information)


Field
bookid cardno. department year issuedate return returndate

Data type
Varchar2(20) Number(10) Varchar2(10) Varchar2(20) Date Varchar2(10) Date

Keys
Primary, Foreign key Primary, Foreign key Foreign key Primary Primary

6) staff issue (Staff books issue/return information)


Field
bookid cardno. year issuedate return returndate

Data type
Varchar2(20) Number(10) Varchar2(20) Date Varchar2(10) Date

Keys
Primary, Foreign key Primary, Foreign key Foreign key Primary Primary

20

7) bookdetails (Book information)


Field bookid bookname author publication Price Data type Number(20) Varchar2(30) Varchar2(30) Varchar2(20 Number(10) Keys Primary

8) Login
Field password cpassword username Data type Varchar2(10) Varchar2(20) Varchar2(20) Keys Primary Primary

21

You might also like