select PREMISEADDRESS1 from PREMISE PREM
inner join STATUS ST on PREM.LOCATIONID = ST.LOCATIONID
inner join SUPPLIES SUP on ST.STOPID = SUP.STOPID
where SUP.ITEMID = (select count(ITEMID) > 10) from SUPPLIES)
Hello,
I do not use SQL all that often but I would like to view all of the premisesaddresses that have more than 10 items attached to them. Can anyone help me out with this?
Thank you