A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Appending 2 tables



 
 
Thread Tools Display Modes
  #1  
Old July 29th, 2004, 04:09 PM
Dennis H
external usenet poster
 
Posts: n/a
Default Appending 2 tables

I start with tables x and y. Link DIST and OBS1
I get query1 with a select query.
I want to get Query WANTED.
I've tried NOT linking.

TABLE x
DIST OBS1 X CountOfSEG
3 09 1 62
3 09 1 63
3 09 1 69

TABLE Y
DIST OBS1 X CountOfSEG
3 09 2 7
3 09 2 81

Query1
DIST OBS1 X X.CountOfSEG Y.CountOfSEG
3 09 1 62 7
3 09 1 62 81
3 09 1 63 7
3 09 1 63 81
3 09 1 69 7
3 09 1 69 81

Query WANTED
DIST OBS1 X X.CountOfSEG
3 09 1 62
3 09 1 62
3 09 1 63
3 09 2 7
3 09 2 81



  #2  
Old July 29th, 2004, 07:31 PM
external usenet poster
 
Posts: n/a
Default Appending 2 tables - a UNION Query.

I got it with a UNION Query.


-----Original Message-----
I start with tables x and y. Link DIST and OBS1
I get query1 with a select query.
I want to get Query WANTED.
I've tried NOT linking.

TABLE x
DIST OBS1 X CountOfSEG
3 09 1 62
3 09 1 63
3 09 1 69

TABLE Y
DIST OBS1 X CountOfSEG
3 09 2 7
3 09 2 81

Query1
DIST OBS1 X X.CountOfSEG Y.CountOfSEG
3 09 1 62 7
3 09 1 62 81
3 09 1 63 7
3 09 1 63 81
3 09 1 69 7
3 09 1 69 81

Query WANTED
DIST OBS1 X X.CountOfSEG
3 09 1 62
3 09 1 62
3 09 1 63
3 09 2 7
3 09 2 81



.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use a make-table query to combine two existing tables Matt Running & Setting Up Queries 1 June 16th, 2004 01:53 AM
searching for "join tables" and "join word tables" Uncle Bill Tables 1 June 11th, 2004 09:33 PM
Limit to Number of Tables T'Kai Database Design 1 June 8th, 2004 03:44 PM
How do I design a database based on the information that will be stored? - Copy of Tables and hirearchies.zip (0/1) Jim Database Design 1 June 1st, 2004 01:44 PM
Separate database for tables? Holly Clifton Database Design 3 May 18th, 2004 06:20 PM


All times are GMT +1. The time now is 07:21 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.