CREATE TABLE All_documents (document_id VARCHAR, document_name VARCHAR)
CREATE TABLE Document_locations (date_in_location_from VARCHAR, date_in_locaton_to VARCHAR, document_id VARCHAR)

What is 'the date in location from' and 'the date in location to' for the document with name 'Robin CV'?
SELECT T1.date_in_location_from, T1.date_in_locaton_to FROM Document_locations AS T1 JOIN All_documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = "Robin CV"
SELECT "T1"."date_in_location_from", "T1"."date_in_locaton_to" FROM "Document_locations" AS "T1" JOIN "All_documents" AS "T2" ON "Robin CV" = "T2"."document_name" AND "T1"."document_id" = "T2"."document_id"