* 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. Foreign key Primary. 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. department year issuedate return returndate Data type Varchar2(20) Number(10) Varchar2(10) Varchar2(20) Date Varchar2(10) Date Keys Primary. Foreign key Primary. year issuedate return returndate Data type Varchar2(20) Number(10) Varchar2(20) Date Varchar2(10) Date Keys Primary. Foreign key Foreign key Foreign key Foreign key Foreign key Primary Primary 5) teacherissue (Teacher books issue/return information) Field bookid cardno. Foreign key Foreign key Primary Primary 6) staff issue (Staff books issue/return information) Field bookid cardno. 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 .

Sign up to vote on this title
UsefulNot useful