SELECT T1.document_id ,  T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id  =  T2.document_id GROUP BY T1.document_id ORDER BY count(*) DESC LIMIT 1
What is the document id and name with greatest number of paragraphs?
SELECT T1.document_id , T2.document_name FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id GROUP BY T1.document_id ORDER BY count ( * ) DESC LIMIT 1
select t1 . document_id , t2 . document_name from paragraphs as t1 join documents as t2 on t1 . document_id = t2 . document_id group by t1 . document_id order by count ( * ) desc limit value
What is the document id and name with greatest number of paragraphs ?