Grant column-level access (hard)

SQL Hard 3 views
Back to Questions

Problem Description

You want user support_viewer to see only customer_id and name from Customers, not email/phone. Grant SELECT on only these columns (column-level privilege).

Input Format

SQL statements

Output Format

Privileges applied

Sample Test Case

Input:
Customers(customer_id, name, email, phone)
Output:
Limited access

Constraints

Column-level grants depend on DB

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev