maryam.eng
یک شنبه 15 شهریور 1394, 12:16 عصر
سلام
این کوئریم کار نمیکنه و این ارور میده :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group
where id_group IN( select teachingGroup from teacher_course'
select name,family from teacher
where groupManager="yes" AND baseGroup IN(
select name_group from group
where id_group IN( select teachingGroup from teacher_course
where code_teacher=<%=s%> ));
teachingGroup در کلاس teacher_course و baseGroup در کلاس teacher کلید خارجی کلید id-group در کلاس group است.
این کوئریم کار نمیکنه و این ارور میده :
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group
where id_group IN( select teachingGroup from teacher_course'
select name,family from teacher
where groupManager="yes" AND baseGroup IN(
select name_group from group
where id_group IN( select teachingGroup from teacher_course
where code_teacher=<%=s%> ));
teachingGroup در کلاس teacher_course و baseGroup در کلاس teacher کلید خارجی کلید id-group در کلاس group است.