Hello everybody,
I have a little problem, have the following statement in mysql:
SELECT cmfilm.*, cmgenre.titel AS genretitel, cmvertoning.*, cmzaal.titel AS zaaltitel
FROM cmfilm
LEFT JOIN cmvertoning ON cmvertoning.film_id=cmfilm.id
LEFT JOIN cmgenre ON cmfilm.genre_id=cmgenre.id
LEFT JOIN cmzaal ON cmvertoning.zaal_id=cmzaal.id
WHERE cmvertoning.id IN(74,74,74,74)
ORDER BY cmfilm.id ASC
because i'm asking the same id 4 times it only gives me 1 result. But i would like to have the result to be returned 4 times, as i asked it to do. Anyone who knows how to solve this?