anchor.diff:          S?SQL_SELECT.'WHERE'
       ).
   
  +clause_for_equality_and_greater_than_or_equalit_to_is_not_possible_swap_lhs_rhs_test() ->
  +    DDL = get_ddl(
  +        "CREATE TABLE table1("
  +        "a TIMESTAMP NOT NULL, "
  +        "b SINT64 NOT NULL, "
  +        "PRIMARY KEY ((a),a))"),
  +    {ok, Q} = get_query(
  +        "SELECT * FROM table1 "
  +        "WHERE b >= 6 AND b = 5 AND a = 4600"),
  +    ?assertEqual(
  +        {error,{impossible_where_clause, << >>}},
  +        compile(DDL, Q)
  +    ).
  +
   -endif.
  
positive.code:             %% or equal to clause because if a to be 10 it must also be greater
              %% than 8
              {eliminate, Acc};
          #filtercheck{'>=' = undefined} = Check1 ->
              %% this is the first equality check so just record it
              Check2 = Check1#filtercheck{'>=' = F},
  
negative.code:         compile(DDL, Q)
      ).
  
  clause_for_equality_and_greater_than_is_not_possible_swap_lhs_rhs_test() ->
      DDL = get_ddl(
          "CREATE TABLE table1("
          "a TIMESTAMP NOT NULL, "
  