Question: We have the following partial database schema for an online bookstore. Book ( ISBN , title, category ) Customer ( CID , cname, gender, age
We have the following partial database schema for an online bookstore.
BookISBN title, category
CustomerCID cname, gender, age
PurchaseDate CID, ISBN, seller, price
The book categories include fictiontextbook and scifi The book price can fluctuate, ie the same book may have different purchase prices.
Answer the following queries with Relational Algebra and SQL
How much did the customer "Ellen" spend buying "fictions"?
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
