I am receiving a SYNTAX error in Visual Studio. Using Access DB
INSERT INTO Order (oProduct, oQty, oPrice)
SELECT pName, pQty, pPrice
FROM Product
WHERE pName = 'Big Mac'";
Table: Product
Fields: pName, pPrice, pQty
Table: Order
Fields: oProduct, oQty, oPrice
“Order” is a reserved word in SQL. Escape it with square brackets, like: