Add Drop Column example (#24742)

* Add Drop Column example

Add Drop Column example with SQL Code instead of image. Also drop column image was removed since it was the same with the change column image.

* Minor name change
This commit is contained in:
krekalidis
2019-03-05 20:42:16 +02:00
committed by The Coding Aviator
parent 960811e31f
commit 3b07316da1

View File

@ -34,7 +34,9 @@ Rename some columns:
![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table03.JPG?raw=true) ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table03.JPG?raw=true)
Remove a column: Remove a column:
![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table04.JPG?raw=true) ```sql
ALTER TABLE table_name DROP COLUMN column_name;
```
You can also use the alter table workbench tool. Just RIGHT click on the table you want to change and change as you wish. You can also use the alter table workbench tool. Just RIGHT click on the table you want to change and change as you wish.
![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table05.JPG?raw=true) ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table05.JPG?raw=true)