Like: ``` sql SELECT FROM Profile LET $city = address.city WHERE $city.name like '%Saint%"' and ( $city.country.name = 'Italy' or $city.country.name = 'France' ) ``` [Source](http://orientdb.com/docs/2.0/orientdb.wiki/SQL-Query.html#let-block) This cluse will be calculated right before `wherefn()` and `selectfn()` ( or `groupfn()`).