You need to find out the names of all employees who belong to the same department as the employee 'Jessica Butcher' who is in department 100 and has an employee ID 40. Which of the following queries...


You need to find out the names of all employees who belong to the same department as the employee 'Jessica Butcher' who is in department 100 and has an employee ID 40. Which of the following<br>queries will be correct?<br>EMPLOYEES<br>Туре<br>NOT NULL NUMBER(4)<br>VARCHAR2(10)<br>Name<br>Null?<br>EMP ID<br>FIRST NAME<br>VARCHAR2(10)<br>VARCHAR2(9)<br>VARCHAR2(4)<br>LAST NAME<br>JOB<br>MGR<br>HIRE DATE<br>DATE<br>SALARY<br>NOT NULL NUMBER<br>COMM PCT<br>NUMBER(7,2)<br>DEPT ID<br>NUMBER(2)<br>DEPARTMENTS<br>Туре<br>NUMBER<br>VARCHAR2(20)<br>VARCHAR2(20)<br>Name<br>Null?<br>DEPT ID<br>DEPT NAME<br>DEPT LOC<br>O SELECT first_name, last_name FROM employees WHERE last_name = 'Butcher' And first_name = 'Jessica';<br>O SELECT first_name, last_name FROM employees WHERE department =100;<br>O SELECT first_name, last_name FROM employees WHERE department = (SELECT department FROM employees WHERE first_name = 'Jessica' AND last_name = 'Butcher');<br>O SELECT first_name, last_name FROM employees WHERE department<br>(SELECT department FROM employees WHERE first_name = 'Jessica' AND last_name = 'Butcher' AND department = 100 AND employee_id = 40);<br>

Extracted text: You need to find out the names of all employees who belong to the same department as the employee 'Jessica Butcher' who is in department 100 and has an employee ID 40. Which of the following queries will be correct? EMPLOYEES Туре NOT NULL NUMBER(4) VARCHAR2(10) Name Null? EMP ID FIRST NAME VARCHAR2(10) VARCHAR2(9) VARCHAR2(4) LAST NAME JOB MGR HIRE DATE DATE SALARY NOT NULL NUMBER COMM PCT NUMBER(7,2) DEPT ID NUMBER(2) DEPARTMENTS Туре NUMBER VARCHAR2(20) VARCHAR2(20) Name Null? DEPT ID DEPT NAME DEPT LOC O SELECT first_name, last_name FROM employees WHERE last_name = 'Butcher' And first_name = 'Jessica'; O SELECT first_name, last_name FROM employees WHERE department =100; O SELECT first_name, last_name FROM employees WHERE department = (SELECT department FROM employees WHERE first_name = 'Jessica' AND last_name = 'Butcher'); O SELECT first_name, last_name FROM employees WHERE department (SELECT department FROM employees WHERE first_name = 'Jessica' AND last_name = 'Butcher' AND department = 100 AND employee_id = 40);

Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here