ComputerScienceExpert

(11)

$18/per page/

About ComputerScienceExpert

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Applied Sciences,Calculus See all
Applied Sciences,Calculus,Chemistry,Computer Science,Environmental science,Information Systems,Science Hide all
Teaching Since: Apr 2017
Last Sign in: 103 Weeks Ago, 3 Days Ago
Questions Answered: 4870
Tutorials Posted: 4863

Education

  • MBA IT, Mater in Science and Technology
    Devry
    Jul-1996 - Jul-2000

Experience

  • Professor
    Devry University
    Mar-2010 - Oct-2016

Category > Programming Posted 09 May 2017 My Price 9.00

Consider the bank database

member(memb_no, name, age)

book(isbn, title, authors, publisher)

borrowed(memb_no, isbn, date)

 

1.    Consider the bank database above. Answer the following questions:

a.    Print the average number of books borrowed per member.  Take into account that if a member does not borrow any books, then that member does not appear in the borrowed relation at all.  Insure  that all members  are included in the result.

b.    Create a view that shows all books borrowed by members that does not include personal identifying information (name, age).

c.    Add the following constraints to these tables:

                                              i.     Name- not null

                                            ii.     Age- not null, between 18 and 120

                                           iii.     Isbn- not null

                                           iv.     Authors

                                             v.     Publisher- can be one of three publishers (your choice)

                                           vi.     Date- not null

d.    If you have not already done so, insert the appropriate foreign key constraints for all tables

e.    Set a default value of "Not known" for Authors.

f.     Create a role "clerk".

g.    Grant select access to the "clerk" role to the view from b.

Answers

(11)
Status NEW Posted 09 May 2017 03:05 AM My Price 9.00

-----------

Not Rated(0)