Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedIs 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

101 Database Exercises Text Workbook

Authors: McGraw-Hill

2nd Edition

0028007484, 978-0028007489

More Books

Students also viewed these Databases questions