Error Code : 1242
Subquery returns more than 1 row
l consulta es la siguieten :
Código
SELECT `mdl_course_categories`.`name` FROM `campusvirtual`.`mdl_course_categories` WHERE `mdl_course_categories`.`parent` =(SELECT `campusvirtual`.`mdl_course_categories`.`parent` FROM `campusvirtual`.`mdl_course_categories` LEFT JOIN `campusvirtual`.`mdl_course` ON `campusvirtual`.`mdl_course_categories`.`id` = `campusvirtual`.`mdl_course`.`category`)