SQL - How to get the Unique Key's Column Name from Table

后端 未结 6 808
甜味超标
甜味超标 2020-12-30 03:36

I know how to get the columns from a table using the following SQL statement:

SELECT COLUMN_NAME 
FROM INFORMATION_SCHEMA.COLUMNS 
WHERE (TABLE_NAME = \'MYTA         


        
6条回答
提交回复
热议问题