select * from submenu where mainmenuid='' and active = '1' order by pos ASC limit 1