You already have created a script that can create database objects in the COIN
database. In this exercise, you will create a script that will grant access to these tables to a series of users.
The following table sets out the access requirements for the tables in the
COIN
database.
Your script should assume that there are five database users
- ADMIN,
- BID1,
- BID2,
- SELLER1 and
- SELLER2.
Each cell in the table describes the privileges for each table
- S(elect),
- I(nsert),
- U(pdate),
- D(elete), or
- A(ll).
If there is a dash (-) in a cell, it means that the user has no privileges on the table: