Find Customers who didn't make an Order SQL

By   Tewodros   Date Posted: Oct. 12, 2021  Hits: 914   Category:  Database   Total Comment: 0             A+ A-


side

Find customers who never order any product so far. 

Solution:

 

select custname from Customer

where custid not in (

      select custid from Orders

)


Tags



Back to Top



Related Blogs






Please fill all fields that are required and click Add Comment button.

Name:*
Email:*
Comment:*
(Only 2000 char allowed)


Security Code:* dvclut

Back to Top