How can I check if mysql table column even exists?

后端 未结 8 1013
闹比i
闹比i 2020-12-30 08:44

How can I check if mysql table field even exists ?

The column name is \'price\' and I need to see if it exists.

Haven\'t understood really how the \'EXISTS\'

8条回答
  •  渐次进展
    2020-12-30 08:55

    You could get a description of all the column in your table.

    desc your_table;

提交回复
热议问题