Listing Unlike Items

G

Guest

I have a table based on telephone numbers and customers.
Field 1: Tele#
Field 2: Customer
Field 3: Tele#2
Field 4: Customer

Tele# has dublicates in both Field 1 and Field 3. I want to create a query
which would list all unique Tele#'s. It either appears in Field 1 and not in
Field 3 or Appears in Field 3 and not in Field 1 but not in both.
 
G

Guest

If that what you mean, then try this

SELECT TableName.*
FROM TableName
WHERE [Field 1]<>[Field 3]
 
G

Guest

I have made a change in my database. I have created 2 seperate tables. Each
table has:
Field 1: Tele#
Field 2: Customer

I need the query to list all Tel#'s and Customers in one table which do not
appear in the second table base on Tele#
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top