Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Grant the user Kwame the privilege to display (i.e. SELECT) all data for any book in the BOOK table and the privilege to UPDATE the
Grant the user Kwame the privilege to display (i.e. SELECT) all data for any book in the BOOK table and the privilege to UPDATE the BK_LIST_PRICE only for any book In the BOOK table. Grant the user Kwame the privilege to display (i.e. SELECT) all data for any book In the BOOK table where the PBID = 217; and the privilege to UPDATE the BK_LIST_PRICE only for any book in the BOOK table where the PBID = 217. Create a view Author_2K13 that includes the Name and Date-of-Birth only for each Author born after January 1, 2013. Create a view PUBLISHER_Z2328A_S that includes the PBID, PB_NAME, PB_STREET, PB_ZIPCODE & PB_PHONE for each Publisher whose PB_ZIPCODE is 23284 or 23285. Create a view PUBUSHER_BK_Z2328A_S that includes the BKID, BK_TITLE, BK_LIST_PRICE, PB_ID, PB_NAME for those Books whose List Price is less than $250.00 and the corresponding PB_ZIPCODE is 23284 or 23285. Write a SQL query against the view Author_2K13 that includes the Name and Date-of-Birth only for each Author born after June 30, 2014. Grant the user Abena the privilege to display (i.e. SELECT) the PBID, PB_NAME, PB_STREET, PB_ZIPCODE & PB_PHONE for each Publisher whose PB_ZIPCODE is 23284 or 23285 only. Also grant her the privileges to INSERT and DELETE records for each Publisher whose PB_ZIPCODE is 23284 or 23285 only. Write a SQL query that will list the BK_TITLE, BK_LIST_PRICE, PB_NAME for those Books whose BK_LIST_PRICE is less than $250.00 and the corresponding PB_ZIPCODE is 23284 or 23285. Grant the user Abena the privilege to display (i.e. SELECT) the BK_TITLE, BK_LIST_PRICE, PB_NAME for those Books whose BK_LIST_PRICE e is less than $250.00 and corresponding PB_ZIPCODE is 23284 or 23285
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started