CREATE TABLE movie (mid DECIMAL, title TEXT, year DECIMAL, director TEXT)
CREATE TABLE reviewer (rid DECIMAL, name TEXT)
CREATE TABLE rating (rid DECIMAL, mid DECIMAL, stars DECIMAL, ratingdate TIME)

Find the names of all directors whose movies are rated by Sarah Martinez.
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'
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" AND "T3"."name" = 'Sarah Martinez'