SQL检索属性

时间:2014-03-23 16:48:51

标签: mysql sql security

如果我有以下架构:

    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)

我希望Account Bob检索EMPLOYEE和DEPARTMENT的所有属性 除了Salary,Mgr_ssn和Mgr_start_date,我该怎么做?

0 个答案:

没有答案