Ecco fatto
codice:
select *,count(m_step) from el_step

left outer join el_menu on m_step=st_id and m_corso=st_corso

where st_corso=1

group by idst
order by st_id
Come dicevo, il caldo gioca brutti scherzi GraziE!