I need a certain where clause in my query to be evaluated only in some conditions.

For example,

```
select * from employee e where e.age=14 and e.salary=1000

```

In the above query I need salary where clause to be evaluated only when `e.age > 30`

I am using Db2 and sybase.