select B.* from TB_MICRO_MENU_BBS as B where fuid='' and sfuid='' and viewyn='Y' and limitstart < 1775302194 and ((limittype='') or (limittype='1' and limitend > 1775302194)) order by sort limit 0,20 #|##|#0#|#0#|#