see some materials:
The index ofmysql is divided into single-column index (primary key index, unique index, general index) and combined index.
single-column index: an index contains only one column, and a table can have multiple single-column indexes.
Composite index: a composite index contains two or more columns,
and what kind of full-text index do we often talk about?
and I tried to build a composite index, a combination of name and age fields:
ALTER TABLE `user` ADD INDEX index_titme_time (name,age)
after success, I Navicat to see the following figure:
is he a general index or a composite index at this time?