I get this error
"Every derived table must have its own alias"
When I run this query
SELECT firstname, lastname, artistId
FROM  artist
WHERE artistId=(
    SELECT artistId
    FROM roles
    WHERE movieCode ='$movie[movieCode]' and  role = 'Director'
) a      
 
     
     
    