Unknown column 'stat_fomenu.nev_' in 'field list'SELECT stat_fomenu.id as csoport, stat_fomenu.nev_ as fomenu_nev, stat_almenu.id as almenu_id, stat_almenu.nev_ as almenu_nev, (select max(id) from stat_almenu where fomenu_id=csoport) as max_id FROM stat_fomenu LEFT JOIN stat_almenu ON stat_fomenu.id=stat_almenu.fomenu_id ORDER BY stat_fomenu.id, stat_almenu.id