hello i have 2 many to one relation in database and use sql query is ok but can`t convert query mysql to dql or querybuilder please help me
SELECT *
FROM `resturant`
LEFT JOIN `food`
ON `resturant`.`id` = `food`.`resturant_id`
WHERE `food`.`name`LIKE "%pizza%"
GROUP BY `resturant`.`name`