Convert SIMULATE WHERE clause to GIVEN clause.