我现在的date 是 string 型的 格式是"YYYY-MM"
 现在要写个sql语句 按时间来查询 字段格式是"YYYY-MM-DD HH:mm:ss"where time=date 我应该怎么转变为相等的?