330 likes | 574 Views
Fall 2001. Database Systems. 2. Scalar subqueries. Find items with average bid 60 or more. Print the name of the item and the average bid.SELECT I.name, avg(B.amount)FROM Items I, Bids B WHERE I.iid=B.iidGROUP BY I.iid, I.nameHAVING avg(B.amount) > 60. Fall 2001. Database Systems. 3. Scalar su
E N D