I have a table of course :
I want to fetch data from searching based on columns Country, university, level, interest and substream.
Query which I've tried but not getting better result.
select *
from edu_college_desc
where (country = @country and
university = @university and
leveln = @level and
interest = @interest and
substream=@substream)
or (country = @country or
university = @university or
leveln = @level or
interest = @interest or
substream = @substream)
What I want to do is: if select only country then the data should come based on only country or if I select only stream then data fetched based from stream only if I select both or more then data fetch should be based on those columns.
How can I get perfect results?

ColName LIKE '%YourValue%instead ofColName = YourValue