/edit search  ; from teng to sql