user: ### NOW ANSWER:
Question: What is teh born-died dates of the king with a throne name 315 and left office in 1021?
Columns: ['Throne Name', 'Title', 'Born-Died', 'Entered office', 'Left office', 'Family Relations']
Types: ['text', 'text', 'text', 'text', 'text', 'text']
Sample row: ['Diylamids of Fars (933–1062)', 'Diylamids of Fars (933–1062)', 'Diylamids of Fars (933–1062)', 'Diylamids of Fars (933–1062)', 'Diylamids of Fars (933–1062)', 'Diylamids of Fars (933–1062)']
SQL:

assistant: SELECT "Born-Died" FROM "Table" WHERE "Left office" = '1021' AND "Throne Name" = '315';