anchor.diff:          S?SQL_SELECT.'WHERE'
       ).
   
  -greater_than_or_equal_to_that_is_less_than_previous_greater_than_clause_removes_greater_than_clause_swap_lhs_rhs_test() ->
  +greater_than_or_equal_to_is_less_than_previous_greater_than_clause_removes_greater_than_clause_swap_lhs_rhs_test() ->
       DDL = get_ddl(
           "CREATE TABLE table1("
           "a TIMESTAMP NOT NULL, "
  
positive.code:         S?SQL_SELECT.'WHERE'
      ).
  
  -endif.
  
negative.code:         #filtercheck{'=' = {_,_,{const,EqVal}}} when GteVal > EqVal ->
              %% query like `a = 10 AND a >= 11` cannot be satisfied
              throw({error, {impossible_where_clause, << >>}});
          #filtercheck{'>' = {_,_,{const,GtVal}}} when GtVal < GteVal ->
              %% query like `a = 10 AND a >= 8` we can eliminate the greater than
              %% or equal to clause because if a to be 10 it must also be greater
              %% than 8
              {eliminate, Acc};
          #filtercheck{'>' = {_,_,{const,GtVal}} = F_x} = Check1 when GtVal >= GteVal ->
              %% we already have a filter that is higher than the second one,
              %% which we can eliminate. Store it and eliminate it on the second
  