Skip to content

Commit e2218c1

Browse files
Update Advanced SQL Puzzles DDL.sql
1 parent e60f9ed commit e2218c1

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Advanced SQL Puzzles/Advanced SQL Puzzles DDL.sql

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -348,14 +348,14 @@ GO
348348

349349
INSERT INTO #DMLTable VALUES
350350
(1,'SELECT'),
351-
(5,'FROM'),
352-
(7,'WHERE'),
353351
(2,'Product'),
354-
(6,'Products'),
355352
(3,'UnitPrice'),
356-
(9,'> 100'),
357353
(4,'EffectiveDate'),
358-
(8,'UnitPrice');
354+
(5,'FROM'),
355+
(6,'Products'),
356+
(7,'WHERE'),
357+
(8,'UnitPrice'),
358+
(9,'> 100');
359359
GO
360360

361361
/*----------------------------------------------------
@@ -1010,7 +1010,7 @@ GO
10101010

10111011
INSERT INTO #Friends VALUES
10121012
('Jason','Mary'),('Mike','Mary'),('Mike','Jason'),
1013-
('Susan','Jason'),('John','Mary'),('Susan','Mary')
1013+
('Susan','Jason'),('John','Mary'),('Susan','Mary');
10141014
GO
10151015

10161016
/*----------------------------------------------------
@@ -1276,7 +1276,7 @@ GO
12761276
INSERT INTO #Spouses VALUES
12771277
('Pat','Charlie'),('Jordan','Casey'),
12781278
('Ashley','Dee'),('Charlie','Pat'),
1279-
('Casey','Jordan'),('Dee','Ashley')
1279+
('Casey','Jordan'),('Dee','Ashley');
12801280
GO
12811281

12821282
/*----------------------------------------------------
@@ -1357,7 +1357,7 @@ DDL for Puzzle #57
13571357
Find The Spaces
13581358
*/----------------------------------------------------
13591359

1360-
DROP TABLE IF EXISTS #Strings
1360+
DROP TABLE IF EXISTS #Strings;
13611361
GO
13621362

13631363
CREATE TABLE #Strings

0 commit comments

Comments
 (0)