Mysql join between three tables query
SELECT dir.name 
    FROM directors dir
    INNER JOIN ddirectos ddir ON    dir.id = ddir.directorsid
    INNER JOIN movies mov ON mov.id = ddir.moviesid 
    WHERE mov.id = 289


I believe this is what you are looking for.