Display customer data which is not in other table
Please support our MySQL advertiser: Programming Forums
![]() |
That should be simple :-
sql Syntax (Toggle Plain Text)
SELECT * FROM customers WHERE customers_id NOT IN ( SELECT customers_id FROM orders )
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
"How to ask questions the smart way ?"
"How to ask questions the smart way ?"
![]() |
Similar Threads
Other Threads in the MySQL Forum
- Display data in drop down (ASP.NET)
- PHP Dynamic Form HELP! (PHP)
- Filter JTextField and Display in JTable (Java)
- Urgently need help in getting Autonumbering ID. Thanks Alot. (Visual Basic 4 / 5 / 6)
- Calendar window is not coming for the Dynamic rows (JavaScript / DHTML / AJAX)
- Displaying datagrid on second form (VB.NET)
- Problem with Character Arrays (C++)
- Understanding ASP classes (ASP Tutorials)
- This ought to be simple - extra spaces (PHP)
Other Threads in the MySQL Forum
- Previous Thread: a simple application
- Next Thread: run the multiple select statement
•
•
•
•
Views: 399 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)






Linear Mode