Running this SQL statement:
INSERT INTO Describe (Product_ID, Spec_Category, Spec_Type, Spec_Desc)
SELECT DISTINCT
Products.Product_ID,
Spec_Category,
Spec_Type,
Spec_Desc
FROM
UnknownTable1
INNER JOIN
Products ON Products.Product_ID = Describe.Product_ID
I get this error:
Msg 4104, Level 16, State 1, Line 30
The multi-part identifier "Describe.Product_ID" could not be bound.
This has issue because of foreign key...anyone can explain?