select prod_name, prod_type, colorcode, c1.code_desc, c2.code_desc from table1 t1 left outer join table2 c1 on t1.colorcode = c1.code1 left outer join table2 c2 on t1.colorcode = c2.code2
Select allOpen in new window