SQL Inner Join Returns WAY More Rows Than Expected -
the following query returns >7000 rows when each table has 340 rows.
select config.spec, temptable.spec confg inner join temptable on config.spec = temptable.spec
why happen? if inner join returns row if there match in both tables why return multiple rows match.
if there more 1 row same spec
value in temptable
same spec
value in confg
, duplicate rows, , vice versa.
Comments
Post a Comment