The phone book app connects as directory. HR connects as hr. Both roles exist and have no privileges.
- Let
directoryread theid,name,titleanddepartment_idofemployees, and no other column. - Become
directoryand runSELECT * FROM employees;. Which two words of the error say why it failed? - Still as
directory, list thenameandtitleof every employee. - Let
hrchange thetitleof employees, and no other column. You must be yourself again to grant it.