This is my query
select id,name,address from emp_details where gender = ?
Input : Female , Male
In this usually I need to fetch only Female data or only Male data But some times I need to fetch both Female and Male data using the same query..
Is it possible? If so, how?