There are four field in the page lets say
EMPLOYEE ID
DEPT
LOCATION
UNIT:
User might enter any of the field values all are optional, if he enter EMPLOYEE ID then the query should return rows related to that EMPLOYEE ID. If he enters only LOCATION then the query should return all the employees of that location. How to write the where clause condition with optional parameters.