Loading
december code / try / sql
No account needed. Answer, see why, move on.
Problem
In PostgreSQL, with default view settings, a table Employees has the columns emp_id, name, dept_id and salary. A DBA runs:
CREATE VIEW EmpDirectory AS SELECT emp_id, name, dept_id FROM Employees;
and grants the support team SELECT on EmpDirectory but no privileges on Employees. What does this achieve?
Nothing here is saved. Create a free account to keep your progress, take an assessment and get your readiness score.