SELECT document_id ,  count(*) FROM Paragraphs GROUP BY document_id ORDER BY document_id
Return the different document ids along with the number of paragraphs corresponding to each, ordered by 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
Return the different document ids along with the number of paragraphs corresponding to each , ordered by id .