Question: Show all payment method codes and the number of orders for each code.
Schema: create table invoices (payment_method_code varchar, PRIMARY KEY (payment_method_code))
SQL: select payment_method_code, count(*) from invoices group by payment_method_code