azexcy commented on PR #27974:
URL: https://github.com/apache/shardingsphere/pull/27974#issuecomment-1668846140

   ```
   mysql> CREATE TABLE t_order (order_id INT NOT NULL, user_id INT NOT NULL, 
status VARCHAR(50), PRIMARY KEY (order_id))
   
   mysql> describe t_order;
   +----------+-------------+------+-----+---------+-------+
   | Field    | Type        | Null | Key | Default | Extra |
   +----------+-------------+------+-----+---------+-------+
   | order_id | int         | NO   | PRI | NULL    |       |
   | user_id  | int         | NO   |     | NULL    |       |
   | status   | varchar(50) | YES  |     | NULL    |       |
   +----------+-------------+------+-----+---------+-------+
   3 rows in set (0.01 sec)
   
   mysql> SHOW INDEX FROM t_order;
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   | Table   | Non_unique | Key_name | Seq_in_index | Column_name | Collation | 
Cardinality | Sub_part | Packed | Null | Index_type | Comment | Index_comment | 
Visible | Expression |
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   | t_order |          0 | PRIMARY  |            1 | order_id    | A         | 
          0 |     NULL |   NULL |      | BTREE      |         |               | 
YES     | NULL       |
   
+---------+------------+----------+--------------+-------------+-----------+-------------+----------+--------+------+------------+---------+---------------+---------+------------+
   1 row in set (0.01 sec)
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to