optimal where clause construction

2011