Happy Diwali!!
Wish all of you a very happy and safe diwali!!
The place where all III year Computer Science Students of PSGCAS can voice thier thoughts and opinions!
Sorry for the delay, it can be found here. Please call me if you have any doubts! Thank you!
And not on the 24rth of this month as was originally announced! Please make note!
Please use the following images and code for completing the record tomorrow. I'll add the whole module and the code with comments that explain what is happening in the code by Sunday, so that you can easily understand the application and the code and implement it if you get it in the exam.
STUDENT_MASTER TABLE
Creation :
create table student_master(s_no varchar2(10) primary key check(s_no like 'S%'),
s_name varchar2(15),s_age number(3),s_sex varchar2(6),s_address varchar2(20),
s_city varchar2(15),s_state varchar2(15),s_pincode number(7),s_dept
varchar2(15),
s_books_max number(2),s_books_count number(2));
Insertion :
insert into student_master values('&no','&name',&age,'&sex',
'&address','&city','&state',&pincode,'&dept',&max,&count);
BOOK_MASTER TABLE
Creation :
create table book_master(b_no varchar2(6) primary key check(b_no like B%'),
b_namevarchar2(25),b_publisher varchar2(15),b_edition varchar2(15),
b_author varchar2(15),b_category varchar2(15),b_isbn varchar2(15),
b_price varchar2(15),b_status varchar2(12) check(b_status
IN('Stack','Circulation')));
Insertion :
insert into book_master values('&no','&name','&publisher', '&edition',
'&author','&category','&ISBN','&price','&status');
STUDENT_ACCOUNT TABLE
Creation :
create table student_account(s_no varchar2(6) references student_master(s_no),
b_no varchar2(6) references book_master(b_no),issue_date date, return_date
date);
Insertion for student_account table will be taken care of by the program
;-)