Seeking help/ explanation for a SQL question.
1.) How many different customers have made orders?
Select count(c.custid) from customer c inner join purorder p on c.custid=p.custid
In above query we joined 2 tables to get customers who have purchased an order. And we are count to count number of customers purchased order.
Please comment if anything required
Seeking help/ explanation for a SQL question. 1.) How many different customers have made orders? Tables: CLOTHES ClOID, Type, Brand, Descript, Matrial, MadeInCountry, Size, Price, SID, POID) CUSTOMER...