📜  sql 检查列是否存在 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:36.488000             🧑  作者: Mango

代码示例1
* Using the below query, You can check whether the table1 has a column named "id"

SHOW COLUMNS FROM table1 LIKE 'id'