If I run SHOW COLUMNS FROM table_name
I get:
+-----------------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------------+--------------+------+-----+---------+----------------+
| convo_id | int(11) | NO | PRI | NULL | auto_increment |
| client_convo_id | varchar(255) | NO | | NULL | |
| user_id | int(11) | NO | MUL | NULL | |
+-----------------+--------------+------+-----+---------+----------------+
Looking at the Key
-column, it is clear what PRI
means, namely, primary key. MUL
, according to my research, stands for multiple, which means there can me multiple instances of the same user_id
in this table. But what about the client_convo_id
field? It has no value in the Key
-column. What does this mean? I suspect that there can be multiple entries in the table with the same client_convo_id
. Why, then, does client_convo_id
not have MUL
in its Key
-column?