String类型的日期比较在SQL语句中如何实现?
如果数据库中字段pub_date为Date类型
select * from table where year(pub_date)>2002 ;
如果pub_date类型为String,如何取出pub_date的年代大于2002年的所有数据?
select * from table where year(pub_date)>2002 ;
如果pub_date类型为String,如何取出pub_date的年代大于2002年的所有数据?
...全文


Web 开发
