You can use Sql condition to add the condition part in raw SQL, as described in these Support Center topics:
Sql