MYSQL当天日期
SELECT CURDATE()
当天日期
update 表名 SET log_Content = REPLACE(log_Content,'"upload','"/upload')...
SELECT * FROM shop_count WHERE DATE(count_date)=current_date(); SELECT * FROM sho...
DATE_ADD(now(),INTERVAL 1 DAY);...
select count(id),字段from 表名 group by字段 having count(字段)>1;...
减去一天SELECT DATE_SUB(CURDATE(), INTERVAL 1 DAY);减去一个小时hour(now())-1...
truncate table 表名...