结果拼音:如何使用SQL语句实现查询如05年1月1日到05年2月3日的数据记录?
来源:百度文库 编辑:中科新闻网 时间:2024/05/09 06:36:29
select * from table where column between '2005-01-01' and '2005-02-03'
select * from 表名 where 列名(05年1月1日的那列)
between '2005-01-01' and '2005-02-03'
中科新闻网是一部内容开放、自由的互动网络百科全书
客观、专业、权威的知识性百科全书
来源:百度文库 编辑:中科新闻网 时间:2024/05/09 06:36:29
select * from table where column between '2005-01-01' and '2005-02-03'
select * from 表名 where 列名(05年1月1日的那列)
between '2005-01-01' and '2005-02-03'