msyql设置清除30天以前的数据

 	Delete From xxxx where DATE(create_time) <
		DATE(DATE_SUB(NOW(),INTERVAL 30 day))

你可能感兴趣的:(mysql,mysql)