| 0.0065 | SELECT `source_name`, COUNT(DISTINCT(MV.movie_id)) AS source_count, `SC`.`source_id`
FROM `ml_movies` `MV`
LEFT JOIN `ml_lookup_sources` `SC` ON `MV`.`source_id` = `SC`.`source_id`
WHERE `MV`.`user_id` = 1
AND YEAR(MV.date_viewed) = '2026'
AND MONTH(MV.date_viewed) = '03'
GROUP BY `SC`.`source_id`
ORDER BY `source_count` DESC ?>
|