Please, help me for how to make inner join api correctly
> <br />
<b>Fatal error</b>: Uncaught Phalcon\Mvc\Model\Exception: Syntax error, unexpected token (, near to '(PrfTeachers INNER JOIN EducationBackground ON PrfTeachers.id_teachers = EducationBackground.teacher_id) INNER JOIN RadiusLocations ON PrfTeachers.id_teachers = RadiusLocations.radius_id)', when parsing: SELECT prf_teachers.full_name, prf_teachers.birthday, prf_teachers.address, prf_teachers.city, prf_teachers.provinces, prf_teachers.districts, prf_teachers.villages, education_background.primary_school, education_background.junior_high_school, education_background.senior_high_school, education_background.diploma, education_background.s1, education_background.s2, education_background.s3, radius_locations.city, radius_locations.district FROM ((PrfTeachers INNER JOIN EducationBackground ON PrfTeachers.id_teachers = EducationBackground.teacher_id) INNER JOIN RadiusLocations ON PrfTeachers.id_teachers = RadiusLocations.radius_id) (632) in /var/www/html/guru-les/api_gurules/index.php:139
Stack trace:
#0 [internal function]: Phalcon\Mvc in
<b>/var/www/html/guru-les/api_gurules/index.php</b> on line
<b>139</b>
<br />