Complete Demonstration, How to create tables in SQL Server 2019 or in any other version
--Syntax Create Table
Create Table Employee
(
EmpID Int,
EmpName Varchar(20),
Department Varchar(10)
)
--Syntax Insert Data Values in the Table
Insert into Employee Values (1,'Peterson', 'IT')
Insert into Employee Values (2,'Robertson', 'HR')
Insert into Employee Values (3,'Lisa', 'Accounts')
--Fetch Data from Table
Select * from Employee
-- Create Table from an Table. This will Create new Table with All Data
Select * into Employee_New from Employee
Select * from Employee_New
-- Create Table St from an Table. This will Create new Table with NO Data
Select * into Employee_New1 from Employee where 1=1
-- If you have Table Structure, how to Insert Data from another table
Insert into Employee_New1
Select * from Employee
-- how to Insert Data from another table for selected columns
Insert into Employee_New1(EmpID, EmpName)
Select EmpID, EmpName from Employee
#Tables, #CreateTablesSQLServer, #SQLServerTables, #SQLServer2019, #Infoloomia, #DatabaseTables,
On this page of the site you can watch the video online How to Create Tables in Microsoft SQL Server (SQL Server Management Studio) | SQL Server 2019 with a duration of hours minute second in good quality, which was uploaded by the user Infoloomia 11 March 2022, share the link with friends and acquaintances, this video has already been watched 36 times on youtube and it was liked by 0 viewers. Enjoy your viewing!