complete where clause