瀏覽代碼

finished exercise 2

master
Ernest Debruyne 2 年之前
父節點
當前提交
dbb62fe2d6
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9
    0
      exercise_2.sql

+ 9
- 0
exercise_2.sql 查看文件

@@ -0,0 +1,9 @@
SELECT
invoice_number,
invoice_total
FROM invoices
WHERE payment_total >
(SELECT AVG(payment_total)
FROM invoices
WHERE payment_total > 0)
ORDER BY invoice_total DESC;

Loading…
取消
儲存