executed where clause in select query