Oracle 12c: SQL
Oracle 12c: SQL
3rd Edition
ISBN: 9781305251038
Author: Joan Casteel
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Students have asked these similar questions
7. SELECT name FROM instructor WHERE salary = 90000; This query can be replaced by which of the following ? a) SELECT name FROM instructor WHERE salary BETWEEN 90000 AND 100000; b) SELECT name FROM employee WHERE salary =100000; c) SELECT name FROM employee WHERE salary BETWEEN 90000 AND 100000; d) SELECT name FROM instructor WHERE salary BETWEEN 100000 AND 90000;
Which query identifies customers living in the same state as the customer namedLeila Smith?a. SELECT customer# FROM customersWHERE state = (SELECT state FROM customersWHERE lastname = 'SMITH');b. SELECT customer# FROM customersWHERE state = (SELECT state FROM customersWHERE lastname = 'SMITH'OR firstname = 'LEILA');c. SELECT customer# FROM customersWHERE state = (SELECT state FROM customersWHERE lastname = 'SMITH'AND firstname = 'LEILA'ORDER BY customer);d. SELECT customer# FROM customersWHERE state = (SELECT state FROM customersWHERE lastname = 'SMITH'AND firstname = 'LEILA');
Which of the following queries identifies other customers who were referred to JustLee Books by the same person who referred Jorge Perez?a. SELECT customer# FROM customersWHERE referred = (SELECT referred FROM customersWHERE firstname = 'JORGE'AND lastname = 'PEREZ');b. SELECT referred FROM customersWHERE (customer#, referred) = (SELECT customer#FROM customers WHERE firstname = 'JORGE'AND lastname = 'PEREZ');c. SELECT referred FROM customersWHERE (customer#, referred) IN (SELECT customer#FROM customers WHERE firstname = 'JORGE'AND lastname = 'PEREZ');d. SELECT customer# FROM customersWHERE customer# = (SELECT customer#FROM customers WHERE firstname = 'JORGE'AND lastname = 'PEREZ');
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
  • Text book image
    Oracle 12c: SQL
    Computer Science
    ISBN:9781305251038
    Author:Joan Casteel
    Publisher:Cengage Learning
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
dml in sql with examples; Author: Education 4u;https://www.youtube.com/watch?v=WvOseanUdk4;License: Standard YouTube License, CC-BY