SELECT document_id ,  count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id
Show all document ids and the number of paragraphs in each document. Order by document id.
SELECT document_id , count ( * ) FROM Paragraphs GROUP BY document_id ORDER BY document_id
select document_id , count ( * ) from paragraphs group by document_id order by document_id
Show all document ids and the number of paragraphs in each document . Order by document id .