---
title: "mysql 查询3天之内的数据"
author: "e_e"
date: "2016-10-19T15:13:30Z"
tags: []
categories: ["数据库"]
slug: "mysql-3"
draft: false
lastmod: "2016-10-19T15:13:30Z"
id: 2331598
url: "https://e-e.iteye.com/blog/2331598"
---

SELECT * FROM Session where createTime &gt;= now()-interval 3 day;