Home  >  Q&A  >  body text

MySQL如何查询当天产生的全部数据???

PHP中文网PHP中文网2765 days ago615

reply all(1)I'll reply

  • 阿神

    阿神2017-04-17 16:29:45

    Crab, it’s been solved:

    SELECT *
    FROM table_name
    WHERE TO_DAYS(createDate) = TO_DAYS(NOW());

    reply
    0
  • Cancelreply