Results 1 to 2 of 2
  1. #1
    DPF is offline Novice
    Windows 10 Access 2007
    Join Date
    Mar 2017
    Posts
    1

    Unhappy SQL "NOT IN" with different tables

    Dear accessforums.net user,



    i have a big Problem and do not find it!

    How do I make a query with "not in" over several tables?

    Example:

    SELECT number
    FROM customer
    WHERE number NOT IN (SELECT number FROM employee);

    this emaple doesn´t work! AND there is a error message.

  2. #2
    aytee111 is offline Competent At Times
    Windows 10 Access 2013 64bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    Here is some good information on subqueries: http://allenbrowne.com/subquery-01.html

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 12-23-2015, 09:32 PM
  2. Replies: 4
    Last Post: 09-10-2015, 08:22 AM
  3. Replies: 1
    Last Post: 09-07-2015, 08:00 AM
  4. Replies: 1
    Last Post: 09-03-2014, 03:27 AM
  5. Replies: 11
    Last Post: 03-29-2012, 02:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums