Congratulations! You found SQL dialects.
There are many SQL database systems, and each system has its own SQL dialect. Sometimes the difference is small, sometimes it is big.
Usually, the difference appears in DDL (Data Definition Language) part of the SQL which has command to manipulate database objects, like CREATE TABLE
, ALTER INDEX
and similar.
The article you referred is a bad article, because it does not state which dialect it teaches. It is actually MySQL, but there is no mentioning of it in the article.
The MySQL dialect is named after the MySQL DBMS, which uses it - and of course, the 'Workbench' tool connected to MySQL DBMS worked perfectly.
-- That is MySQL
CREATE TABLE gamer
AS
SELECT
gamer, score, championship_date
FROM championship
WHERE championship_date <= 2020-08-10;
Microsoft SQL Server uses T-SQL. Analogous to the MySQL statement in T-SQL would be:
-- That is T-SQL
SELECT
gamer, score, championship_date
INTO gamer
FROM championship
WHERE championship_date <= 2020-08-10;
By the way, the MySQL dialect is very close to PL/SQL used by Oracle. There are differences, but create table from select is done similarly.
Majority of other dialects, for this task, are mimicking other oldest dialect - Transact SQL, developed by Sybase. The T-SQL is a very close successor of Transact SQL, but there are also differences.