MySQL 查询“陷阱”
摘要:在我们平时使用MySQL 过程中,我们经常会使用到索引来提高查询速度,但是有时候我们会因为不注意细节落入“陷阱”。 1、查询时,where条件列的类型和列定义的类型不一致 看如下例子: 我们先准备下数据 create table test_1( id varchar(11), user_name v
阅读全文
posted @ 2021-09-07 23:05
posted @ 2021-09-07 23:05
posted @ 2021-09-04 22:55
posted @ 2021-09-04 22:42
posted @ 2021-09-04 17:43