search_by_sql added