Question: In the university database, the instructor table contains columns ID , name, dept _ name, and salary. Suppose you need to retrieve the names and
In the university database, the instructor table contains columns ID name, deptname, and salary. Suppose you need to retrieve the names and salaries of instructors in the 'Comp. Sci. department who earn more than $ Which SQL statement would correctly achieve this?
Group of answer choices
SELECT name, salary FROM instructor WHERE deptname 'Comp. Sci. AND salary ;
SELECT name, salary FROM instructor WHERE deptname 'Comp. Sci. OR salary ;
SELECT name, salary FROM instructor WHERE deptname 'Comp. Sci. AND salary ;
SELECT name FROM instructor WHERE deptname 'Comp. Sci. AND salary ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
