How can I merge 3 documents in one, with email address key in LibreOffice?

So, I have 3 different documents in LibreOffice. All they have column emailaddress which I need to use as a key to merge all 3 documents in one. What I need is to merge by emailaddress column A (firstname) from document_2, column B (lastname) from document_3 into document_1.