Question: Write appropriate SQL DDL statements for declaring the LIBRARY relational database schema of Figure 6.6. Specify the keys and referential triggered actions. Data from figure

Write appropriate SQL DDL statements for declaring the LIBRARY relational database schema of Figure 6.6. Specify the keys and referential triggered actions.

Data from figure 6.6

BOOK Book_id Title Publisher_name BOOK AUTHORS Book_id Author_name PUBLISHER Name Address Phone

BOOK Book_id Title Publisher_name BOOK AUTHORS Book_id Author_name PUBLISHER Name Address Phone OK COPIES Book id Branch_id No_of_copies BOOK LOANS Book id Branch_id Card_no Date_out Due_date LIBRARY_BRANCH Branch_id Branch_name Address BORROWER Card no Name Address Phone

Step by Step Solution

3.45 Rating (164 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Create Database Create Database Library Table Book CREATE TABLE book bookid varchar6 NOT NULL title char50 NOT NULL Publishername char50 NOT NULL ENGI... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Fundamentals Of Database Systems Questions!