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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Joining 2 tables (one w/new info, one w/old info)

Status
Not open for further replies.

laina222

Technical User
Sep 7, 2001
172
US
I was wondering if anyone could help me with a query I needed to make. I have two tables, one is a call log where Customer Service Reps record the complaints that customers have. The other is the same table, only it stores the older complaint information that we've already published reports on. I want to join the new table information from a certain date through a certain date to the already existing older table of information. I know I can copy and paste all the records I needed into the old table but I was wondering if I could write a query that would add this functionality and save about three hours of my time.
Any ideas?
 
Like Jerry said:

SELECT * FROM MyTable1
UNION
SELECT * FROM MyTable2

I would suggest that you combine the tables and then add a column that just lists whether or not it has been reported on, unless this is going to get too big.
Terry M. Hoey
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top