您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

12345
  1. USE ap;
  2. SELECT COUNT(*) AS number_of_invoices,
  3. sum(invoice_total - payment_total - credit_total)AS total_due
  4. FROM invoices
  5. WHERE invoice_total - payment_total - credit_total > 0;