Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the following database of student enrollment in course and books adopted for course Student(regno,name,major,bdate) Course (courseno,cname,dept) Enroll(regnk,coyrseno,sem,marks) Book_adoption (courseno,sem,book_isbn) Text(book_isbn,book_title,publisher,author) 1. Create the above

Consider the following database of student enrollment in course and books adopted for course 

Student(regno,name,major,bdate)

Course (courseno,cname,dept)

Enroll(regnk,coyrseno,sem,marks)

Book_adoption (courseno,sem,book_isbn)

Text(book_isbn,book_title,publisher,author)

1. Create the above table by properly specifying primary key and foreign key and enter at least5 tuples for each relation 

2. add new text book to database and make this book to be adopted by some department

3. procedure a list of text books (include courseno,book_isbn,book_title) in alphabetical order for courses offered by "cs" department that use more than 2 books

4. list any department that has all its book published by specific publisher 

Step by Step Solution

3.48 Rating (151 Votes )

There are 3 Steps involved in it

Step: 1

1 CREATE TABLE STUDENT regno varchar10 name varchar10 major varchar10 bdate date constraint spk PRIM... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database management systems

Authors: Raghu Ramakrishan, Johannes Gehrke, Scott Selikoff

3rd edition

72465638, 978-0072465631

More Books

Students also viewed these Databases questions

Question

What are different operations we can perform on queues?

Answered: 1 week ago

Question

How should a lawyer go about the closing speech?

Answered: 1 week ago