Below is the list of tables from the database along with their columns and datatype. Need to generate an accurate SQL query for the question.
Only use the columns present in the respective table. Only use the columns which are required to generate the SQL query. Only use table joins if required and not otherwise.

### Tables ###
TABLE: CREATE TABLE rating ( rid number, mid number, stars number, ratingdate time )
TABLE: CREATE TABLE movie ( mid number, title text, year number, director text )
TABLE: CREATE TABLE reviewer ( rid number, name text )

### Question ###
What are the names of all directors whose movies have been reviewed by Sarah Martinez?

### Accurate SQL ###

SELECT DISTINCT T2.director FROM rating AS T1 JOIN movie AS T2 ON T1.mid = T2.mid JOIN reviewer AS T3 ON T1.rid = T3.rid WHERE T3.name = 'Sarah Martinez'