How to Create One Table From Another Database Table in SQL Server

Published: 17 March 2022
on channel: Data Science Center
7,341
26

SELECT * FROM EMP;
GO

SELECT * INTO EMP
FROM [HRDB].[dbo].[EMPLOYEES]
GO

SELECT * FROM EMP;



USE HRDB;
GO

SELECT [CustomerKey], [FirstName],[LastName], [Gender],[EmailAddress] , [YearlyIncome]
into CUSTOMER
FROM [AdventureWorksDW2017].[dbo].[DimCustomer]
WHERE Gender = 'M';
GO



SELECT * FROM CUSTOMER;
GO


On this page of the site you can watch the video online How to Create One Table From Another Database Table in SQL Server with a duration of hours minute second in good quality, which was uploaded by the user Data Science Center 17 March 2022, share the link with friends and acquaintances, this video has already been watched 7,341 times on youtube and it was liked by 26 viewers. Enjoy your viewing!