15. The system of claim 14 further comprising: querying means for querying the parent table using the set of SQL statements to produce the first result set; and using means for using the first result set in constructing a second set of SQL statements to query the child table, wherein the second set of SQL statements comprises SQL statements other than a second statement that joins the second table to another table, and the querying means and the using means reside in the memory unit.
18. The system of claim 15 wherein the second set of SQL statements comprises: a query statement for selecting a record having a value of a foreign key field of the second table equal to a value of a target key field in the first result set.