SELECT T1.document_id ,  T2.document_name ,  count(*) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id  =  T2.document_id GROUP BY T1.document_id
What are the ids and names of each document, as well as the number of paragraphs in each?
SELECT T1.document_id , T2.document_name , count ( * ) FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id
select t1 . document_id , t2 . document_name , count ( * ) from paragraphs as t1 join documents as t2 on t1 . document_id = t2 . document_id group by t1 . document_id
What are the ids and names of each document , as well as the number of paragraphs in each ?