Question: What is the document id with least number of paragraphs?
Schema: create table paragraphs (document_id varchar, PRIMARY KEY (document_id))
SQL: select document_id from paragraphs group by document_id order by count(*) limit 1