From 3b07316da15fb59e93a757b8cf6a6b821e03f900 Mon Sep 17 00:00:00 2001 From: krekalidis Date: Tue, 5 Mar 2019 20:42:16 +0200 Subject: [PATCH] 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 --- guide/english/sql/sql-alter-table-statement/index.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/guide/english/sql/sql-alter-table-statement/index.md b/guide/english/sql/sql-alter-table-statement/index.md index a15700c401..d8408f8fdc 100644 --- a/guide/english/sql/sql-alter-table-statement/index.md +++ b/guide/english/sql/sql-alter-table-statement/index.md @@ -34,7 +34,9 @@ Rename some columns: ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table03.JPG?raw=true) 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. ![image-1](https://github.com/SteveChevalier/guide-images/blob/master/alter_table05.JPG?raw=true)