DBI202_-_SP_2024_-_Block_5_-_FE_1928.webp
V

DBI202_-_SP_2024_-_Block_5_-_FE_1928.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

Exi Q: 31

Thông tin

Category
DBI202
Thêm bởi
vanhoa2000
Ngày thêm
Lượt xem
5,198
Lượt bình luận
19
Rating
0.00 star(s) 0 đánh giá

Image metadata

Filename
DBI202_-_SP_2024_-_Block_5_-_FE_1928.webp
File size
295.2 KB
Dimensions
1680px x 825px

Share this media

Back
Bên trên Bottom