如何查询跟今天一样的日期 (比方说今天是星期一那么就只有是星期一的日子出来,如果我明天用的话就都是星期二的日子出来...) 多谢 noxe 发表于 2009-5-27 07:32
select * from 表 where format(日子,"w")=format(date,"w")and 情况="recall" 或者 select * from 表 where weekday(日子)=weekday(date)and 情况="recall"