select productline, P.productcode, productname, (OD.priceeach - P.buyprice) as ProfitMargin
from Products P, OrderDetails OD
where P.productcode = OD.productcode and productline like '%Cars%'
order by ProfitMargin desc
Wenn ich es ausführe, gibt es einen Fehler. Es sagt "zu wenige Parameter. Erwartet 1." Ist irgendetwas mit meinem Code falsch?SQL-Fehler (zu wenig Parameter)