Question: In SQL without aggregation, grouping, or nesting. users(email, name, pwd, city, gender) products(pid, descr) sales(sid, lister, pid, edate, descr, cond, rprice) bids(bid, bidder, sid, bdate,
In SQL without aggregation, grouping, or nesting.
users(email, name, pwd, city, gender)
products(pid, descr)
sales(sid, lister, pid, edate, descr, cond, rprice)
bids(bid, bidder, sid, bdate, amount)
items(sid, no, pid, descr)
reviews(reviewer, reviewee, rating, rtext, rdate)
previews(rid, pid, reviewer, rating, rtext, rdate)
Question:
List sid and lister of all sales that end over the next 3 days but have no bids with an amount reaching or exceeding the reserved price. Hint: Check out date and time functions in SQLite.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
