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 transcribedimage 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 (AuctionlID, ItemID, SellerUsername, Price, StartTime. EndTime) * 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 AutionIDs 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

Students also viewed these Databases questions

Question

describe the main employment rights as stated in the law

Answered: 1 week ago