+ 1

How can we find primary key column name from database table in SQL?

Primary key column name in sql

8th Jul 2020, 5:24 PM
Anupriya Rajasekaran
Anupriya Rajasekaran - avatar
1 Answer
+ 1
Use the SHOW COLUMNS command (FROM <table name>)
8th Jul 2020, 5:36 PM
Sandra Meyer
Sandra Meyer - avatar