› MySQL 5.5 Community Server
› MySQL 5.6 Community Server
› Percona Configuration Wizard
› XtraBackup 搭建主从复制
Great Sites on MySQL
› Percona
› MySQL Performance Blog
› Severalnines
推荐管理工具
› Sequel Pro
› phpMyAdmin
推荐书目
› MySQL Cookbook
MySQL 相关项目
› MariaDB
› Drizzle
参考文档
› http://mysql-python.sourceforge.net/MySQLdb.html
JohnZorn
V2EX  ›  MySQL

mysql 的日期时间比较

  •  
  •   JohnZorn · Dec 26, 2017 · 4688 views
    This topic created in 3200 days ago, the information mentioned may be changed or developed.

    两张表 其中一张表一个字段为 DateTime 另一张表一个字段为 Time 类型 怎么将 DateTime 类型中的 Time 部分与另一个表的 Time 的字段做比较

    2 replies  •  2017-12-26 17:47:41 +08:00
    fkdyy
        1
    fkdyy  
       Dec 26, 2017
    转换成时间戳再比较啊
    hduwillsky
        2
    hduwillsky  
       Dec 26, 2017 via iPhone
    mysql 有 dateformat 函数
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   873 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 18:57 · PVG 02:57 · LAX 11:57 · JFK 14:57
    ♥ Do have faith in what you're doing.