where komutu olmadan iki ilişkili tablodan verileri çekiyorum ama bu iki veriden bir de koşul olarak Count ile saydırdığım elemanı 10 dan büyükse diye yazdırmasını istiyorum ne yapmalıyım
select o.CustomerID, c.ContactName , COUNT(o.CustomerID) as Sayi
from Orders as o inner join Customers as c on c.CustomerID=o.CustomerID
where COUNT(o.CustomerID)> 10
group by o.CustomerID, c.ContactName
order by Sayi DESC