0
Why is syntax "between" 3 "and" 8...
Why is syntax "between" 3 "and" 8, when the results produced are "all" beginning with 3 "and" ending with 8? 4 through 7 is what exists "between" 3 "and" 8. Just noticing the syntax is not very intuitive. Would be better to say 3 >= x <= 8.
2 Antworten
+ 2
Just a convention that the limits belong to the interval selected. Works fine for me.
0
select * from employee where ID BETWEEN 3 AND 8;