

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following SQL query:(SELECT DISTINCT PnumFROM PROJ, DEPT, EMP WHERE Dnum = DnumberAND Mgr_ssn = Ssn AND Lname=’XXXX’)UNION(SELECT DISTINCT Pnum FROM PROJ, WORKS_ON, EMP WHERE Pnum=Pno AND ESSn=SsnAND Lname=’XXXX’) |
A. | all project numbers for projects that involve an employee with last name ‘XXXX’, either as worker or as manager |
B. | all project numbers for projects that involve an employee with last name ‘XXXX’ as manager |
C. | records of all employees with last name as ‘XXXX’ working in a project as manager |
D. | All project numbers for projects in department Dnumber and where ‘XXXX’ is involved either as worker or as manager |
Answer» B. all project numbers for projects that involve an employee with last name ‘XXXX’ as manager | |