MySQL Drop Multiple Columns

后端 未结 2 1611
野的像风
野的像风 2020-12-29 18:13

I\'m trying to drop multiple columns, but having some trouble. The syntax below works when I do ALTER TABLE and ADD with multiple values in the bra

2条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 18:48

    ALTER TABLE `tablename`
    DROP `column1`,
    DROP `column2`,
    DROP `column3`;
    

提交回复
热议问题