Show all paragraph ids and texts for the document with name 'Welcome to NY'.
create table documents (document_id varchar, document_name varchar, PRIMARY KEY (document_id)); create table paragraphs (paragraph_id varchar, paragraph_text varchar, document_id varchar, PRIMARY KEY (paragraph_id))
select t1.paragraph_id, t1.paragraph_text from paragraphs as t1 join documents as t2 on t1.document_id = t2.document_id where t2.document_name = 'welcome to ny'