3 个解决方案
#1
select min(订单时间) from 订单where 订单时间 >= '2014-01-01' and 订单时间 < '2015-01-01'
#2
select top 1 * from orders where orderdate between '2014-01-01' and '2015-01-01' order by orderdate
#3
谢谢大家,问题解决了
#1
select min(订单时间) from 订单where 订单时间 >= '2014-01-01' and 订单时间 < '2015-01-01'
#2
select top 1 * from orders where orderdate between '2014-01-01' and '2015-01-01' order by orderdate
#3
谢谢大家,问题解决了