Hi there,I have this query:select subquery.inp_alloc_stat2 from(select P.inp_alloc_stat inp_alloc_stat2 from test.mpi_involved_prof pgroup by p.inp_alloc_stat) subqueryLEFT OUTER JOIN (select g.gen_prefix gen_prefix2, g.gen_code gen_code2, g.gen_desc gen_desc2 from test.lup_generic) gon subquery.inp_alloc_stat2 = g.gen_code2
I used a left outer join because I want to preserve all records from table p PLUS matching records from g. I just want to check to see if the syntax is correct.Thanks