I have two tables issue and comments. is_issue_id is a primary key in the issue table and c_is_issue_id is indexed in the comments table. If I run a select statement in the comments table for c_is_issue_id there are 40 rows returned inclusive of nulls. If I run the following select there are 300 rows returned. If I run the query for is_issue_id from issue table only I receive 30 rows. This is confusing. What do you think is going on why are 300 rows returning when neither of the tables have that many rows for the id's listed?
select is_issue_id
from issue,comments
where is_issue_id = c_is_issue_id
Thanks in advance.
Shyamal
[sig][/sig]
select is_issue_id
from issue,comments
where is_issue_id = c_is_issue_id
Thanks in advance.
Shyamal
[sig][/sig]