I am writing a simple between statement.
create table temp(mid int)
insert into temp
values
(1),(2),(3),(4)
select * from temp
where mid between 4 and 1
drop table temp
This outputs 1,2,3,4
However I want to use this statement in reverse (I am using this as a simple example in a harder problem). Is there some way I can possibly write BETWEEN 4 and 1? If you try to execute this then an empty dataset will return.
Perhaps a range would work for you.
Another thought, why not use:
or