Add A Column To An Existing Table In Sql – Query Examples

Add A Column To An Existing Table In Sql

To Add A Column To An Existing Table In Sql we use  Alter Statement. The code is below.

Example1:

Add a column to the students table named ‘gender’, data type one character of char

Example1:

Add a column to the students table named ‘gender’, data type one character of char and default value is ‘F’

YOU MAY WANT TO SEE OUR ALL EXAMPLES PAGE, THEN CLICK HERE

About the author

admin

Leave a Comment

%d bloggers like this: