Add a New Column

Learn to add a new column to an existing table.

So far, we’ve become familiar with different queries like insert, delete, update, and select. We’ve also used several operators for our different requirements. Now, we’ll learn to add a new column to an existing table. Let’s suppose that we want to introduce a column with the name identity. We assume that each customer has a unique identity number, and we want to introduce this concept to our data model.

The alter table command

...
Access this course and 1400+ top-rated courses and projects.