footleg

导航

2020年4月1日

Mysql索引总结

摘要: 日期类型可以直接和string格式的字符串比较 select * from xxx where event_time>'2018-06-02' 可以使用索引, mysql默认会把后面的字符串转成date类型。可以使用between and select * from xxx where date(e 阅读全文

posted @ 2020-04-01 17:41 迷途 阅读(228) 评论(0) 推荐(0) 编辑