摘要:
select distinct col_namefrom tablewhere a=Xand b=Yand date(time)='xx-xx-xx';执行时间27.9772 秒explainselectdistinct col_namefrom tablewhere a=Xandb=Yanddat... 阅读全文
posted @ 2015-01-09 20:46
妞溜溜
阅读(228)
评论(0)
推荐(0)
摘要:
date_format(date,format)可以把日期转换为制定的格式:mysql> select date_format('2008-08-08 22:23:00', '%W %M %Y');Friday August 2008mysql> select date_format('2008-0... 阅读全文
posted @ 2015-01-09 19:56
妞溜溜
阅读(4446)
评论(0)
推荐(0)
浙公网安备 33010602011771号