Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Is this correct? Considering the schema at EMPLOYEE ssn fname, Iname, phone, bdate) DEPARTMENT dept-id, dept-name) PROFESSOR ssn title, research-interest) WORKS INC prof-son, dept-id) date-started
Is this correct?
Considering the schema at EMPLOYEE ssn fname, Iname, phone, bdate) DEPARTMENT dept-id, dept-name) PROFESSOR ssn title, research-interest) WORKS INC prof-son, dept-id) date-started Which of the following finds the first name and last name of all employees who are professors with the title as 'assistant professor' and first names starting with the letter W. SELECT frame, Iname FROM EMPLOYEE WHERE fname LIKE 'W%' AND ss IN (SELECT ssn FROM PROFESSOR WHERE title = 'assistant professor'); SELECT fname, Iname FROM EMPLOYEE INNER JOIN PROFESSOR ON EMPLOYEE.ssn = PROFESSOR.ssn WHERE fname LIKE "W%" AND title = 'assistant professor'; SELECT fname, Iname FROM EMPLOYEE WHERE fname LIKE 'W%' AND ssn = (SELECT ssn FROM PROFESSOR WHERE title = 'assistant professor'); SELECT fname, Iname FROM EMPLOYEE WHERE fname LIKE 'W%' AND ssn = (SELECT ssn FROM EMPLOYEE WHERE title = 'assistant professor')Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started