---
title: "Mysql查询5分钟内数据的sql"
author: "loveofgod"
date: "2010-03-28T13:43:14Z"
tags: []
categories: ["数据库"]
slug: "mysql-5-sql"
draft: false
lastmod: "2010-04-10T18:23:13Z"
id: 626481
url: "https://akalius.iteye.com/blog/626481"
---

select requestUrl, userHome, state, from_unixtime(RequestModifyTime/1000) from BlogMoveRequest where type='qzone' and RequestModify
Time/1000 > unix_timestamp('2010-03-28 10:45:00') and RequestModifyTime/1000 < unix_timestamp('2010-03-28 10:50:00');