<tfoot id='UIctr'></tfoot>

  • <i id='UIctr'><tr id='UIctr'><dt id='UIctr'><q id='UIctr'><span id='UIctr'><b id='UIctr'><form id='UIctr'><ins id='UIctr'></ins><ul id='UIctr'></ul><sub id='UIctr'></sub></form><legend id='UIctr'></legend><bdo id='UIctr'><pre id='UIctr'><center id='UIctr'></center></pre></bdo></b><th id='UIctr'></th></span></q></dt></tr></i><div id='UIctr'><tfoot id='UIctr'></tfoot><dl id='UIctr'><fieldset id='UIctr'></fieldset></dl></div>

    • <bdo id='UIctr'></bdo><ul id='UIctr'></ul>
      <legend id='UIctr'><style id='UIctr'><dir id='UIctr'><q id='UIctr'></q></dir></style></legend>

      1. <small id='UIctr'></small><noframes id='UIctr'>

      2. WHERE 日期时间早于某个时间(例如 15 分钟)

        WHERE datetime older than some time (eg. 15 minutes)(WHERE 日期时间早于某个时间(例如 15 分钟))

        <legend id='W9cMj'><style id='W9cMj'><dir id='W9cMj'><q id='W9cMj'></q></dir></style></legend>

          <small id='W9cMj'></small><noframes id='W9cMj'>

            • <i id='W9cMj'><tr id='W9cMj'><dt id='W9cMj'><q id='W9cMj'><span id='W9cMj'><b id='W9cMj'><form id='W9cMj'><ins id='W9cMj'></ins><ul id='W9cMj'></ul><sub id='W9cMj'></sub></form><legend id='W9cMj'></legend><bdo id='W9cMj'><pre id='W9cMj'><center id='W9cMj'></center></pre></bdo></b><th id='W9cMj'></th></span></q></dt></tr></i><div id='W9cMj'><tfoot id='W9cMj'></tfoot><dl id='W9cMj'><fieldset id='W9cMj'></fieldset></dl></div>
              • <bdo id='W9cMj'></bdo><ul id='W9cMj'></ul>
                  <tbody id='W9cMj'></tbody>

                1. <tfoot id='W9cMj'></tfoot>
                  本文介绍了WHERE 日期时间早于某个时间(例如 15 分钟)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我在看:

                  MySQL 选择时间戳所在的行从现在到 10 分钟前的专栏

                  我有一个名为 creation_date 的 col 持有日期时间戳:2013-09-10 11:06:42

                  I have a col named creation_date holding a datetime stamp: 2013-09-10 11:06:42

                  我想使用以下方法提取所有超过 15 分钟的记录:

                  I would like to pull all records that are OLDER than 15 minutes using:

                  WHERE creation_date >= DATE_SUB(NOW(),INTERVAL 15 MINUTE)

                  然而,查询总是返回 0 个结果,即使数据库中存在超过 15 分钟的项目.

                  However the query always returns 0 results, even with items older then 15 minutes present in the database.

                  推荐答案

                  旧将 WHERE creation_date

                  DATE_SUB(NOW(),INTERVAL 15 MINUTE)

                  这篇关于WHERE 日期时间早于某个时间(例如 15 分钟)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to delete duplicate records in mysql database?(如何删除mysql数据库中的重复记录?)
                  Python Pandas write to sql with NaN values(Python Pandas 使用 NaN 值写入 sql)
                  MySQL Insert amp; Joins(MySQL 插入 amp;加入)
                  MySQL concat() to create column names to be used in a query?(MySQL concat() 创建要在查询中使用的列名?)
                  NodeJS responded MySQL timezone is different when I fetch directly from MySQL(当我直接从 MySQL 获取时,NodeJS 响应 MySQL 时区不同)
                  Why doesn#39;t MySQL#39;s MyISAM engine support Foreign keys?(为什么 MySQL 的 MyISAM 引擎不支持外键?)

                    <small id='EFahI'></small><noframes id='EFahI'>

                    • <tfoot id='EFahI'></tfoot>
                        <bdo id='EFahI'></bdo><ul id='EFahI'></ul>

                            <i id='EFahI'><tr id='EFahI'><dt id='EFahI'><q id='EFahI'><span id='EFahI'><b id='EFahI'><form id='EFahI'><ins id='EFahI'></ins><ul id='EFahI'></ul><sub id='EFahI'></sub></form><legend id='EFahI'></legend><bdo id='EFahI'><pre id='EFahI'><center id='EFahI'></center></pre></bdo></b><th id='EFahI'></th></span></q></dt></tr></i><div id='EFahI'><tfoot id='EFahI'></tfoot><dl id='EFahI'><fieldset id='EFahI'></fieldset></dl></div>
                          1. <legend id='EFahI'><style id='EFahI'><dir id='EFahI'><q id='EFahI'></q></dir></style></legend>

                              <tbody id='EFahI'></tbody>