Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Counting records from three tables

Status
Not open for further replies.

txwylde

Programmer
Jan 25, 2001
60
0
0
US
I have three tables I am trying to do a count on to give me a total amount. The problem is that somes of the sales order numbers are unique to the other tables but I want to count the unique records as well as the records that are not in the other tables. Is there an easy way to do this?

Thanks!
Bill
 
You could create a table, append the values, and do a select distinct on the new table. Otherwise, you might need 3 queries.
mark
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top