HCM202_-_SP_2023_-_FE_91.webp
minhha289

HCM202_-_SP_2023_-_FE_91.webp

(Choose 1 answer)
There is an auction database consists the following tables:
Member(memberID, memberName)
Auction_item(itemID, itemName, sellerID, endTime)
Bid(itemID, bidderID, bidPrice)
All registered members can put up item to sell (stored in auction_tem table), and can bid repeatedly one item
stored in bid table)(Current price of an item is maximum bidPrice
Which of the following SQL statement show the current price for each item
A. Select itemID, itemName, MAX(bidPrice) CurrentPrice From auction item i, bid b
Where i.itemID = b.itemID
Group by itemID
B. Select itemID, itemName, MAX(bidPrice) CurrentPrice From auction item i, bid b
Where i.itemID = b.itemID
Group by itemName
C. Select itemID, itemName, MAX(bidPrice) CurrentPrice
From auction_item i, bid b
Where i.itemID = b.itemID Group by itemID, itemName


Exit 5

Thông tin

Category
HCM202
Thêm bởi
minhha289
Ngày thêm
Lượt xem
823
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom