Hi All, i have a SQL query to join 2 simple datasets, i am receiving an error saying
"PROD_STRUCT_ALTERNATE_CFV"."PART_NO": invalid identifier
Failed executing statement (ORA-00904: "PROD_STRUCT_ALTERNATE_CFV"."PART_NO": invalid identifier
relates ot the ON part of the statement.
If anyone can help i would appreciate it.
the basic select query was working before i modified it to include the join from the other table.
SQL is as below
1SELECT 2objid,3objkey,4bom_type,5alternative_no,6contract,7part_no,8cf$_total_plastic_weight,9cf$_total_regrind_weight10weight_net1112FROM 1314((SELECT 15objid,16objkey,17bom_type,18alternative_no,19contract,20part_no,21cf$_total_plastic_weight,22cf$_total_regrind_weight23FROM prod_struct_alternate_cfv WHERE alternative_no ='*' AND bom_type ='Manufacturing' )2425LEFT JOIN (SELECT part_no, weight_net FROM part_catalog where part_no is not null)2627ON part_catalog.part_no_cfv = prod_struct_alternate_cfv.part_no )