# S02035 {#S02035}

## Error Code {#error_code .section}

S02035

## Error Message {#error_message .section}

`The where condition must be a logical expression. RefId:S02035`

## Probable Causes {#probable_causes .section}

The conditions in the WHERE clause must be expressions that return boolean values.

For example, an error will occur if "1+1" is used, as it returns an integer.

``` {#codeblock_mbx_dpz_zbc}
t = table(1..3 as id)
select * from t where 1+1
```

## Solutions {#solutions .section}

Check whether the conditions specified in the WHERE clause are valid.

**Parent topic:**[Error Code Reference](../../Troubleshooting/ErrorCode.md)

