Created
June 12, 2021 21:31
-
-
Save bartubozkurt/da356b05915c430ccd89ec1bf4165bd6 to your computer and use it in GitHub Desktop.
You can also create more complicated SQL Server INSERT statements using SELECT statements
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO contacts (contact_id, last_name, first_name) | |
SELECT employee_id, last_name, first_name | |
FROM employees | |
WHERE employee_id <= 100; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment