Use between in sql to query whether it contains boundaries
Does the between query in sql contain boundaries? Many novices are not very clear about this. In order to help you solve this problem, the following editor will explain it in detail. People with this need can come and learn. I hope you can gain something.
The following is illustrated by an example:
I have a table with only four rows of data:
Query with between:
You can see that the between query contains the front and back boundary values.
If you want to display people outside the scope, you need to use it with the NOT operator, using not between queries, for example:
Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.