security - SQL statement not correct -


if want account albert retrieve or modify relation except dependent , can grant of these privileges other users, how that?

i tried grant function so:

grant select employee albert  grant select department albert  grant select dept_locations albert  grant select project albert  grant select works_on albert  

but how let albert modify?

schema:

employee (fname, minit, lname, ssn, bdate, address, sex, salary,  super_ssn, dno) department (dname, dnumber, mgr_ssn, mgr_start_date) dept_locations(dnumber, dlocation) project(pname, pnumber, plocation, dnum) works_on(essn, pno, hours) dependent(essn, dependent_name, sex, bdate, relationship) 

so far grant select rights. want grant update, too. , maybe insert , delete?

grant select, update, insert, delete on employee albert ; ... 

Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -