I'm trying to use the CREATE VIEW along with multiple cells from 3 different tables with multiplication between two cells. There is a syntax error somewhere with this somewhere but I can't seem to identify it.
CREATE VIEW ORDERS AS CustFirstname, CustLastName, o.Ordernumber AS OrderNumber,
o. OrderDate AS OrderDate, o.ShipDate AS ShipDate, c.QuotedPrice,
c.QuantityOrdered, c.QuotedPrice * c.QuantityOrdered AS ItemTotal FROM Customers
NATURAL JOIN Orders o NATURAL JOIN Order_Details c
The output i'm trying to get is |CustFirstname|CustLastName|OrderNumber|OrderDate|ShipDate|ItemTotal|
Update: If I replace "CREATE VIEW ORDERS AS" with "SELECT" it seems to work