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
SELECT
objid,
objkey,
bom_type,
alternative_no,
contract,
part_no,
cf$_total_plastic_weight,
cf$_total_regrind_weight
weight_net
FROM
((SELECT
objid,
objkey,
bom_type,
alternative_no,
contract,
part_no,
cf$_total_plastic_weight,
cf$_total_regrind_weight
FROM prod_struct_alternate_cfv WHERE alternative_no ='*' AND bom_type ='Manufacturing' )
LEFT JOIN (SELECT part_no, weight_net FROM part_catalog where part_no is not null)
ON part_catalog.part_no_cfv = prod_struct_alternate_cfv.part_no )