Consider the following instance of relation Sells(book_title, library, price): Sells book_title library price The grand design Noura 20,000 Brief history of time Noura 15,000 The grand design Malik's 18,000 Brief history of time Malik's 16,000 Quantum çomputers Malik's 25,000 Brief history of time Al Dirasat 21,000 What this query is trying to find? Select book_title from sells s1 where EXISTS (select * from sells where book_title = s1.book_title and library != s1.library) Select one: O a. Books sold by exactly one library O b. Books sold by more than one library O c. Books sold by one library or more. O d. Books not sold by any library

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter9: Joining Data From Multiple Tables
Section: Chapter Questions
Problem 12MC
icon
Related questions
Question
Consider the following instance of relation Sells(book_title, library. price):
Sells
book title
library
price
The grand design
Noura
20,000
Brief history of time
Noura
15,000
The grand design
Malik's
18,000
Brief history of time
Malik's
16,000
Quantum çomputers
Malik's
25,000
Brief history of time
Al Dirasat
21,000
What this query is trying to find?
Select book title from sells s1 where EXISTS (select * from sells where book_title = s1.book_title and library != s1.library)
Select one:
O a. Books sold by exactly one library
O b. Books sold by more than one library
C. Books sold by one library or more.
d. Books not sold by any library
Transcribed Image Text:Consider the following instance of relation Sells(book_title, library. price): Sells book title library price The grand design Noura 20,000 Brief history of time Noura 15,000 The grand design Malik's 18,000 Brief history of time Malik's 16,000 Quantum çomputers Malik's 25,000 Brief history of time Al Dirasat 21,000 What this query is trying to find? Select book title from sells s1 where EXISTS (select * from sells where book_title = s1.book_title and library != s1.library) Select one: O a. Books sold by exactly one library O b. Books sold by more than one library C. Books sold by one library or more. d. Books not sold by any library
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Complex Datatypes
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning