my first table has about 18K records
so when i
select * from table2
i get about 18k
i'm trying to do a join on it as follows, but i'm getting like 26K back.. what am i doing wrong? i though it's supposed to return all of the "right" aka table2 records plus show me whatever value matches from the first in a separate column...
Select t1.fID , t2.*
FROM table1 t1 right join table2 t2 on t1.fName = t2.f
here is an exmaple of my tables:
table 1: fID, fName
table 2: id, f, address, etc
i need to get all records from table 2, with an fID column, whenever f=fName