摘要: SELECT TABLE_NAME,COLUMN_NAME FROM information_schema.key_column_usage where CONSTRAINT_SCHEMA='tablename' and CONSTRAINT_NAME='PRIMARY' 阅读全文