create  table  test (a  int  not  null  primary  key);  
与  
create  table  test (a  int  not  null,  unique  index(a));  
有什么区别?  
 
 
 
create  table  test (a  int  not  null,  key(a));  
与  
create  table  test (a  int  not  null,  index(a));  
有什么区别?  
 
 
尤其是后面两句的区别,我只看过primary  key,foreign  key,这还是头一次知道还有一个即不是primary又不是foreign的"普通"key,这玩意儿跟index有啥区别?