-3
我有一個mysql查詢,但我不知道如何在symfony2.0中進行查詢。如何在symfony2.0中編寫mysql查詢?
查詢:
SELECT a.id, a.name,
FROM `ms_musiccategory` a
LEFT OUTER JOIN `ms_musiccategory` b ON a.parent_Id = b.id
ORDER BY coalesce(b.name, a.name) , a.name
@tombom:請回復不編輯... – webdeveloper