Hi All... Consider the following table:
RecId AssocId Text
1 10 blah
2 10 blah
3 20 blah
? 20 blah
? 20 blah
Certain records are "associated" with each other using the column AssocId. I have a select statement that uses several other columns not shown and gets me a set of records. But I also want to include the records that are associated with each of those records in the set regardless of their other columns. That is if I have:
SELECT * FROM Table WHERE RecId = 3
How do I also include those other 2 records whose AssocId match the one I got with the WHERE? (and of course I want it in the same SQL statement...)
Any thoughts? Thanks!