text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE INVOICES (payment_method_code VARCHAR)
  ### Question:
  Show all payment method codes and the number of orders for each code.
  ### Answer:
  SELECT payment_method_code, COUNT(*) FROM INVOICES GROUP BY payment_method_code