i have a task
@state varchar(50),
@location varchar(50)
as
begin
end
if he pass state="",location="" then select all institutes in country
if he pass state value then select institutes in that state
if he pass location also value then select institutes in that particular location
how to write query
please help me