Is there an option in sql where i can make a where clause in a select statement optional based on a variable value.
For Ex:- If i have a query like this.

```
Declare
@selection int=1
select name,age,department from employee where age > 25

```

i want to make the where clause to be applied only if @selection=1 and not apply if @selection is something else. Can i do this without if condition?