Gregg Bolinger wrote:I want header rows with at least 2 detail rows. Of those 2, each one should point to the product IDs I am specifying.
You can add "group by header.id having count(detail.header_id)>=2" at the end of your query...May you get your answer???...