How to Create a Table in SQL

Learn how to create a new table after creating a database in Microsoft SQL Server. To create a table in SQL, use the CREATE TABLE statement.

Create a new table in SQL

First, we created a database amitdb in SQL using the CREATE DATABASE command:

Now, create a table employee using the CREATE TABLE command. We have four fields, employee id, name, city and salary:

Video Tutorial – Create a Table

If you liked the tutorial, spread the word and share the link and our website Studyopedia with others:

Support us: DONATE


Read More:

How to Create a Database in SQL
How to Backup a Database in SQL
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

No Comments

Post A Comment

Discover more from Studyopedia

Subscribe now to keep reading and get access to the full archive.

Continue reading