retry with where clause