凌瑶瑶明皓轩免费阅读:请教查询一个字段的调用方法
来源:百度文库 编辑:高校问答 时间:2024/05/01 04:54:59
如题 比方说查询30-100这个数字段,如何调出?
字段名 id
select * form table where id between 30 and 100;
或者
select * from table where id >= 30 and id <=100;
(包含30 和 100的字段)
高校问答是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:高校问答 时间:2024/05/01 04:54:59
字段名 id
select * form table where id between 30 and 100;
或者
select * from table where id >= 30 and id <=100;
(包含30 和 100的字段)