Results 1 to 5 of 5
  1. #1
    johnbest is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    9

    Which join should I use ?

    Hello,

    I have 2 tables;

    Table A
    id val
    1 2
    2 12


    3 11
    4 23

    Table B
    id per
    1 10
    2 20
    3 30
    4 40
    5 50
    6 60

    The output, I want is;

    id val per
    1 2 10
    2 12 20
    3 11 30
    4 23 40
    5 50
    6 60

    Which Join should I use? I am using Access 2007.


    Regards
    John

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Start with any join, then edit the join and select the one with the description that fits. Then view the query in SQL view and see which it was.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    johnbest is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    9
    Hi pbaldy,

    I tried a lot, but in vain.

    Please help me.


    Regards
    John

  4. #4
    johnbest is offline Novice
    Windows XP Access 2003
    Join Date
    Mar 2012
    Posts
    9
    Hi pbaldy,

    Thanks... a lot...
    I was trying it wrong way



    Regards
    John

  5. #5
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    Happy to help.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Need Join Help?
    By katyshuler in forum Reports
    Replies: 3
    Last Post: 05-06-2014, 07:56 AM
  2. Replies: 6
    Last Post: 11-19-2013, 01:38 AM
  3. Inner Join works but not Left Join
    By kwooten in forum Queries
    Replies: 1
    Last Post: 12-11-2012, 05:09 PM
  4. Outer Join Nested in Inner Join
    By Stevens7 in forum Queries
    Replies: 2
    Last Post: 10-19-2011, 01:34 PM
  5. SQL - Inner Join
    By springboardjg in forum Queries
    Replies: 1
    Last Post: 05-12-2011, 05:10 AM

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