Question: How many documents were shipped by USPS?
Schema: create table documents (id varchar, PRIMARY KEY (id)); create table ref_shipping_agents (id varchar, PRIMARY KEY (id))
SQL: select count(*) from ref_shipping_agents join documents on documents.shipping_agent_code = ref_shipping_agents.shipping_agent_code where ref_shipping_agents.shipping_agent_name = "usps"