Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Webiondev123's avatar

How can I join these three tables?

How can I execute this sql query in laravel?

  SELECT * FROM `examination` WHERE `id` in (select `exam_id` from
 `exam_supervision`  where `lecturer_id` in (select `id` from `lecturers` where `id`=1));


Laravel seems so confusin. Can anyone please give me the exact laravel query?

thanks

0 likes
1 reply
Snapey's avatar

You have to try something then ask how to improve it rather than have us do your assignment for you

Please or to participate in this conversation.