请帮帮我。我有表A日期格式为DD/MM/YY和时间格式为hh:mm:ss的AM/PM查询SQL日期和时间(CLOSED)
╔══════════╦═════════════╦═════════════╦═════════╗
║ DATE ║ TIME ║ PHONE ║ MESSAGE ║
╠══════════╬═════════════╬═════════════╬═════════╣
║ 25/09/07 ║ 01:57:55 PM ║ 62856979898 ║ Tes a ║
║ 25/09/07 ║ 04:56:51 PM ║ 62856123467 ║ Tes B ║
╚══════════╩═════════════╩═════════════╩═════════╝
如何查询找到数据,其中时间之间的日期。
如何你能拿一个日期,并与时间比较吗? – hjpotter92 2013-03-25 08:43:18
什么类型是日期字段? – Uby 2013-03-25 08:43:20
http://stackoverflow.com/questions/4125931/mysql-combining-date-and-time-column-into-a-time-stamp – 2013-03-25 08:43:59