View to hide sensitive columns
SQL
Medium
0 views
Problem Description
Payroll(emp_id, salary, bank_account). Create view exposing emp_id and salary only.
Output Format
View created
Constraints
Do not expose bank_account
Official Solution
CREATE VIEW v_payroll_public AS SELECT emp_id, salary FROM Payroll;
Solutions (0)
No solutions submitted yet. Be the first!
No comments yet. Start the discussion!