Answer the question
In order to leave comments, you need to log in
How to write such a query in Yii2?
Hello. How to write such query in Yii2 using ActiveRecords ?
SELECT *
FROM `match`
LEFT JOIN `group` ON `group`.`id` = `match`.`id_group`
LEFT JOIN `group_lists` ON `group_lists`.`id_group` = `match`.`id_group`
WHERE ` group`.`id_tourney` = 1
GROUP BY `match`.`id`
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question