SQL keys, MUL vs PRI vs UNI

后端 未结 5 582
独厮守ぢ
独厮守ぢ 2020-11-28 00:57

What is the difference between MUL, PRI and UNI in MySQL?

I\'m working on a MySQL query, using the command:

de         


        
5条回答
  •  伪装坚强ぢ
    2020-11-28 01:23

    It means that the field is (part of) a non-unique index. You can issue

    show create table ;
    

    To see more information about the table structure.

    提交回复
    热议问题