Home > database >  2020-12-26: mysql, table person have field id, name, age, sex, id is the primary key, name is common
2020-12-26: mysql, table person have field id, name, age, sex, id is the primary key, name is common

Time:12-27

The 2020-12-26: mysql, table person have field id, name, age, sex, id is the primary key, the name is general index, age and sex had no index, the select * from person where id=1 and name="James and age=1 and sex=0, this statement has a few back to the table, please? # # f greatly architects a daily topic

CodePudding user response:

Id primary key, do not need to back to the table