dpkyte
10-18-2007, 12:05 AM
I have 3 tables.
Basically, I need to find all the records in table 3, that are not found in tables 1 or 2.
Table1.Table1_id
Table2.Table2_id
Table3.Table3.id
I actually read through tables 1 and 2 and stored their respective table id's in an array $table_ids[]. So, I believe I can do some sort of outer join to find out what I dont want using that array.
To take a step further. I have a 4th table "products", that I would like to get information off of. I could either include that table or just read through the results set and get that information if easier.
Any thoughts feel free to pass them on.
Thanks in advance.
DPK
Basically, I need to find all the records in table 3, that are not found in tables 1 or 2.
Table1.Table1_id
Table2.Table2_id
Table3.Table3.id
I actually read through tables 1 and 2 and stored their respective table id's in an array $table_ids[]. So, I believe I can do some sort of outer join to find out what I dont want using that array.
To take a step further. I have a 4th table "products", that I would like to get information off of. I could either include that table or just read through the results set and get that information if easier.
Any thoughts feel free to pass them on.
Thanks in advance.
DPK