SELECT movie.movie_id AS movie_movie_id,
movie.name AS movie_name,
movie.slug AS movie_slug,
movie.release_date AS movie_release_date,
movie.duration AS movie_duration,
movie.description AS movie_description
FROM movie
JOIN movies_genres AS movies_genres_1 ON movie.movie_id = movies_genres_1.movie_id
JOIN genres ON genres.genres_id = movies_genres_1.genres_id
JOIN movies_languages AS movies_languages_1 ON movie.movie_id = movies_languages_1.movie_id
JOIN LANGUAGE ON language.language_id = movies_languages_1.language_id
JOIN movies_year AS movies_year_1 ON movie.movie_id = movies_year_1.movie_id
JOIN YEAR ON year.year_id = movies_year_1.year_id
JOIN movies_actors AS movies_actors_1 ON movie.movie_id = movies_actors_1.movie_id
JOIN person ON person.person_id = movies_actors_1.person_id
JOIN movies_directors AS movies_directors_1 ON movie.movie_id = movies_directors_1.movie_id
JOIN person ON person.person_id = movies_directors_1.person_id
WHERE lower(
person.name) LIKE lower(?)