Results 1 to 2 of 2
  1. #1
    dollygg is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jul 2009
    Posts
    73

    How to join tables

    I have two tables:
    table A:

    a period1 period 2 perod 3


    c period1 period 2 perod 3
    d period1 period 2 perod 3


    Table B:

    a period4
    b period4
    d period4


    Final result wanted:
    a period1 period 2 perod 3 period4
    b period4
    c period1 period 2 perod 3
    d period1 period 2 perod 3 period4

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    table A is designed wrong, it should be
    A period1
    A period2
    A period3

    but join the 2 tables on 1st col. bring ALL of table A, add table B to the end.
    make this an OUTER JOIN in order to see all the records.

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

Similar Threads

  1. Replies: 8
    Last Post: 06-04-2014, 10:01 AM
  2. Replies: 6
    Last Post: 11-19-2013, 01:38 AM
  3. Join tables and get 'last' record
    By pdauction in forum Queries
    Replies: 1
    Last Post: 04-17-2013, 06:28 AM
  4. inner join query with three tables.
    By fabiobarreto10 in forum Queries
    Replies: 2
    Last Post: 01-30-2012, 07:34 PM
  5. Join 4 Tables in 1 Query
    By sandlucky in forum Queries
    Replies: 5
    Last Post: 06-12-2011, 06:28 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