日期:2014-05-19  浏览次数:20450 次

日期比较查询怎么写呢?
我的数据库
id         dat
32         2007-6-5
34         2007-4-4
21         2007-6-3
我写的
select   *   from   us   where   dat> 2007-6-1
不对
我想查出2007-6-1以后的信息怎么写?

------解决方案--------------------
select * from us where dat> '2007-6-1 '