降结肠管状腺瘤:sql 查询两个值之间的语法
来源:百度文库 编辑:杭州交通信息网 时间:2024/06/03 05:13:33
例如:要查询出 age小于50 大于18 之间的所有值
select * from tablename where age>18 and age<50;
或者
select * from tablename where age between 18 and 50;
select * from tablename where age>18 and age<50;
或者
select * from tablename where age between 18 and 50;