Вам не хватает запятой между item_no
и sum
выражением:
SELECT invoice_no,
item_no,
-- Here^
SUM (
invoice_ship_handle
+ invoice_tax
+ invoice_deposit
+ item_unit_price * item_qty_shipped)
AS "Total Item Cost"
FROM invoices_s, items_sold_s
GROUP BY item_no, invoice_no
ORDER BY SUM (
invoice_ship_handle
+ invoice_tax
+ invoice_deposit
+ item_unit_price * item_qty_shipped) DESC;