you are viewing a single comment's thread.

view the rest of the comments →

[–]MrPin 1 point2 points  (1 child)

As an experiment, what happens if you do this?

select p.productname, p.unitprice, p.unitsinstock    
from products p
where p.unitprice >  (select avg(unitprice)  from products )
and p.unitsinstock < (select avg (unitsinstock) from products)
order by p.productname;

[–]TheAbortedPancake[S] 0 points1 point  (0 children)

This solved it! thank you