From 327fbfe671c0ed42bd8fe3654f3784374849f104 Mon Sep 17 00:00:00 2001 From: Zachary Kitto Date: Sat, 31 Jul 2021 13:57:03 -0400 Subject: [PATCH] followed instructions --- .idea/.gitignore | 0 .idea/SQL.GiveMeTheGoods.iml | 9 +++++++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 6 ++++++ .idea/workspace.xml | 34 ++++++++++++++++++++++++++++++++++ answers/exercise1.sql | 3 +++ answers/exercise10.sql | 2 ++ answers/exercise11.sql | 2 ++ answers/exercise2.sql | 3 +++ answers/exercise3.sql | 3 +++ answers/exercise4.sql | 3 +++ answers/exercise5.sql | 3 +++ answers/exercise6.sql | 3 +++ answers/exercise7.sql | 3 +++ answers/exercise8.sql | 3 +++ answers/exercise9.sql | 3 +++ 17 files changed, 94 insertions(+) create mode 100644 .idea/.gitignore create mode 100644 .idea/SQL.GiveMeTheGoods.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml create mode 100644 .idea/workspace.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/.idea/SQL.GiveMeTheGoods.iml b/.idea/SQL.GiveMeTheGoods.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/SQL.GiveMeTheGoods.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..639900d --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..4448e79 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..35eb1dd --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..ae7b8bb --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + 1627737513983 + + + + \ No newline at end of file diff --git a/answers/exercise1.sql b/answers/exercise1.sql index e69de29..e6b9066 100644 --- a/answers/exercise1.sql +++ b/answers/exercise1.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE City LIKE '^.a.*'; \ No newline at end of file diff --git a/answers/exercise10.sql b/answers/exercise10.sql index e69de29..804cda7 100644 --- a/answers/exercise10.sql +++ b/answers/exercise10.sql @@ -0,0 +1,2 @@ +SELECT PostalCode AS Zip +FROM Students; \ No newline at end of file diff --git a/answers/exercise11.sql b/answers/exercise11.sql index e69de29..8206e85 100644 --- a/answers/exercise11.sql +++ b/answers/exercise11.sql @@ -0,0 +1,2 @@ +SELECT * +FROM Students AS Learners; \ No newline at end of file diff --git a/answers/exercise2.sql b/answers/exercise2.sql index e69de29..342d09f 100644 --- a/answers/exercise2.sql +++ b/answers/exercise2.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE City LIKE '^[abc].*'; \ No newline at end of file diff --git a/answers/exercise3.sql b/answers/exercise3.sql index e69de29..b99a31a 100644 --- a/answers/exercise3.sql +++ b/answers/exercise3.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE City LIKE '^[a-f].*'; \ No newline at end of file diff --git a/answers/exercise4.sql b/answers/exercise4.sql index e69de29..1c565eb 100644 --- a/answers/exercise4.sql +++ b/answers/exercise4.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE City NOT LIKE '^[^acf].*'; \ No newline at end of file diff --git a/answers/exercise5.sql b/answers/exercise5.sql index e69de29..b900820 100644 --- a/answers/exercise5.sql +++ b/answers/exercise5.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE Country IN ('Sint Maarten', 'Haiti'); \ No newline at end of file diff --git a/answers/exercise6.sql b/answers/exercise6.sql index e69de29..23ab586 100644 --- a/answers/exercise6.sql +++ b/answers/exercise6.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Students +WHERE Country NOT IN ('Sint Maarten', 'Haiti'); \ No newline at end of file diff --git a/answers/exercise7.sql b/answers/exercise7.sql index e69de29..451d426 100644 --- a/answers/exercise7.sql +++ b/answers/exercise7.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Courses +WHERE CreditHours BETWEEN 10 AND 20; \ No newline at end of file diff --git a/answers/exercise8.sql b/answers/exercise8.sql index e69de29..7744aab 100644 --- a/answers/exercise8.sql +++ b/answers/exercise8.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Courses +WHERE CreditHours NOT BETWEEN 10 AND 20; \ No newline at end of file diff --git a/answers/exercise9.sql b/answers/exercise9.sql index e69de29..60357a1 100644 --- a/answers/exercise9.sql +++ b/answers/exercise9.sql @@ -0,0 +1,3 @@ +SELECT * +FROM Courses +WHERE CourseName BETWEEN 'ColdFusion' AND 'Python'; \ No newline at end of file