View Single Post
Join Date: Jul 2007
Posts: 1,176
Reputation: stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light stephen84s is a glorious beacon of light 
Solved Threads: 125
Featured Poster
stephen84s's Avatar
stephen84s stephen84s is offline Offline
Veteran Poster

Re: Display customer data which is not in other table

 
0
  #2
Dec 2nd, 2008
That should be simple :-

  1. SELECT *
  2. FROM customers
  3. WHERE customers_id NOT IN (
  4. SELECT customers_id
  5. FROM orders
  6. )
"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 ?"
Reply With Quote