How many documents are named "Robin CV"?
select count ( * ) from all_documents where document_name = "Robin CV"
What is the document id of that document?
select document_id from all_documents where document_name = "Robin CV"
What is the date in location from for this document?
select t2.date_in_location_from from all_documents as t1 join document_locations as t2 on t1.document_id = t2.document_id where t1.document_name = "Robin CV"
What is the date in location to date?
select t2.date_in_locaton_to from all_documents as t1 join document_locations as t2 on t1.document_id = t2.document_id where t1.document_name = "Robin CV"