Created
July 24, 2018 17:30
-
-
Save alogic0/e2c6fa552eea8624ad9b62bcbfc3e82b to your computer and use it in GitHub Desktop.
SQL lessons
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
-- https://www.w3schools.com/sql/trysql.asp | |
CREATE TABLE Countries( | |
ID int IDENTITY(1,1) PRIMARY KEY, | |
Country varchar(255), | |
Continent varchar(255) | |
); | |
INSERT INTO Countries (Country) | |
SELECT DISTINCT Country FROM Customers; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment