Ver originalSELECT peliculas.titulo, peliculas.year, votos.id_pelicula, IFNULL(AVG( votos.nota ),0) AS promedioFROM peliculas LEFT JOIN votos ON peliculas.id = votos.id_pelicula GROUP BY peliculas.id ORDER BY promedio DESC