0% found this document useful (0 votes)
7 views6 pages

L22 Alter-Table

This document discusses how to alter tables in SQL by adding or dropping columns using the ALTER TABLE statement and provides examples of the SQL syntax for adding and dropping columns.

Uploaded by

shivbeej33
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views6 pages

L22 Alter-Table

This document discusses how to alter tables in SQL by adding or dropping columns using the ALTER TABLE statement and provides examples of the SQL syntax for adding and dropping columns.

Uploaded by

shivbeej33
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

SQL Tutorial

SQL

Copyright IntelliPaat. All rights reserved


Agenda

1 Alter Table

Copyright IntelliPaat. All rights reserved


Alter Table

Alter Table statement is used to add, delete, or modify columns in a table.

Copyright IntelliPaat. All rights reserved


Alter Table: Add Column

Let’s add a
column

ALTER TABLE table_name


ADD column_name datatype;

Copyright IntelliPaat. All rights reserved


Alter Table: Drop Column

Let’s drop a
column

ALTER TABLE table_name


DROP COLUMN column_name;

Copyright IntelliPaat. All rights reserved


Thank You

Copyright IntelliPaat. All rights reserved

You might also like