and ent_dt >= REPLACE(?,'/','-') order by ent_dt limit 10 REPLACE(`fil_nm`,'\0', '') fil_nm