海贼王之超级玩家:请教查询一个字段的调用方法
来源:百度文库 编辑:神马品牌网 时间:2024/04/30 17:48:12
如题 比方说查询30-100这个数字段,如何调出?
字段名 id
select * form table where id between 30 and 100;
或者
select * from table where id >= 30 and id <=100;
(包含30 和 100的字段)
神马品牌网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:神马品牌网 时间:2024/04/30 17:48:12
字段名 id
select * form table where id between 30 and 100;
或者
select * from table where id >= 30 and id <=100;
(包含30 和 100的字段)