Problem Description

Create user readonly_user, then give only SELECT access on all tables under schema sales_db. Keep it least-privilege (no insert/update/delete).

Input Format

SQL statements

Output Format

Privileges applied

Sample Test Case

Input:
Schema sales_db exists
Output:
Read-only access

Constraints

Syntax varies by database

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next