Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

We have designed an eBay-like on-line auction database. Please use relational algebra to write queries in order to obtain the requested information. (Note: Every auction

image text in transcribed

We have designed an eBay-like on-line auction database. Please use relational algebra to write queries in order to obtain the requested information. (Note: Every auction listed in the system, sold, expired, or ongoing, is listed in Auction table. Auctions, whose items have been sold out, are also listed in Sold table.) . Item (ItemID, ItemName, Description) User (Username, Email, Rating) Auction (AuctionID, ItemID, SellerUsername, Price, StartTime, EndTime) a Sold (AuctionID, BuyerUsername, DateSold) 1. Find usernames of the users who have a rating higher than 4.5. 2. Find a distinct list of usernames of the users who participate in an auction. Note that a user may participate in an auction as either a buyer or a seller. 3. Find a list of usernames of the sellers whose items have been sold. 4. Find a list of AuctionIDs for the auctions that have been expired. (Hint: An expired auction is the one whose item is not sold and EndTime

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle 10g SQL

Authors: Joan Casteel, Lannes Morris Murphy

1st Edition

141883629X, 9781418836290

More Books

Students also viewed these Databases questions

Question

(LO 3-3) How is similarity matching different from clustering?

Answered: 1 week ago