套入子查詢後,完整 SQL 語句如下: SELECT order_id, SUM(unit_price*quantity) MAX_AMOUNT FROM order_items GROUP BY order_id HAVING SUM(unit_price*quantity) ...
確定! 回上一頁