Record Selection

  • If you have a main file used as your driver

    how do you keep the selection of only those records wehn matching to other files ?

    The file I am matching with has multiple matches so it give me more than one unique record from my driver file.

  • This was removed by the editor as SPAM

  • Could use

    select distinct m.cola,m.colb from maintable m

    inner join othertable x on x.key = m.key

    or

    select m.cola,m.colb from maintable m

    inner join (select distinct key from othertable) x on x.key = m.key

    Far away is close at hand in the images of elsewhere.
    Anon.

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply