| | |
Display customer data which is not in other table
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
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
- Tutorial: Understanding ASP classes (ASP)
- 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++)
- 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
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner gnu government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing matchingcolumns metron micromanage microsoft microsoftexchange mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery mysqlsearch news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






