>*-- Approach 1. Selecting records from both tables with JOIN and >*-- then grouping them >select MAX(PARENT.FLD1), MAX(PARENT.FLD2) from PARENT > left join CHILD where (&cChildFilter) GROUP BY PARENT.PK_FLD >>
>*-- Approach 2. Selecting record from Parent table with subquery >*-- from Child table. >select P.* FROM PARENT P WHERE EXIST (SELECT * FROM CHILD C WHERE >(&cChildFilter) AND C.PK_FLD = P.PK_FLD) >>