WHERE v.custid = "SC100234" and v.upsino = "0000004" ; OR l.custid = "SC100234" and l.upsino = "0000004" ; OR d.custid = "SC100234" and l.upsino = "0000004" ; OR i.custid = "SC100234" and l.upsino = "0000004" ; OR f.custid = "SC100234" and l.upsino = "0000004" ;>You'll get records from visual regardless if there're releted records in other tables.You may want to wrap fields from othe rtables in NVL() to aboid nulls. You don't have to change WHERE claus ebecause it references only fields from the 'visual' table.
>select v.custid, v.upsino, v.datinp, v.optemp, v.pktemp, ; > l.dielectric, l.neut_no, l.ift, l.h20, ; > d.hydrogen, d.methane, d.ethylene, ; > i.aluminum, i.copper, i.iron, ; > f.hydroxymth, f.furfuryl, f.furaldehyd ; > from visual v ; > LEFT JOIN liquid l on l.custid = v.custid and l.upsino = v.upsino and v.datinp = l.puldat ; > LEFT JOIN dga d on d.custid = l.custid and d.upsino = l.upsino and d.puldat = l.puldat ; > LEFT JOIN icp i on i.custid = d.custid and i.upsino = d.upsino and i.puldat = d.puldat ; > LEFT JOIN furanppm f on f.custid = d.custid and f.upsino = d.upsino and f.puldat = d.puldat ; > WHERE v.custid = "SC100234" and v.upsino = "0000004" ; > order by v.upsino, v.datinp >>>