Four, in and between

where after it can be provided in a plurality of values

SELECT column_name(s)
FROM table_name
WHERE column_name IN (value1,value2,...)

 BETWEEN ... AND will select interposed between two data values range . These values may be numbers, text, date, or

SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value1 AND value2

MySQL is the value screened include value1 and value2, some database does not include, it has to check.

123     abc     20200101  20200102。。。

Guess you like

Origin www.cnblogs.com/soberkkk/p/12559120.html