1. 程式人生 > >MySQL?between ... and ...

MySQL?between ... and ...

style mysql 之間 family inf image ima ont spa

between 初值 and 終值:求出該列列值在初值和終值之間所有的數據

格式如下:

select 列名/* from 表名 where 列名 between 初值 and 終值

如下圖:

技術分享圖片

MySQL?between ... and ...