diff --git a/answers/exercise1.sql b/answers/exercise1.sql index e69de29..444ae5d 100644 --- a/answers/exercise1.sql +++ b/answers/exercise1.sql @@ -0,0 +1 @@ +select * from Students where city = '_a%'; \ No newline at end of file diff --git a/answers/exercise10.sql b/answers/exercise10.sql index e69de29..f8d01be 100644 --- a/answers/exercise10.sql +++ b/answers/exercise10.sql @@ -0,0 +1 @@ +select PostalCode as Zip from Students; \ No newline at end of file diff --git a/answers/exercise11.sql b/answers/exercise11.sql index e69de29..f952314 100644 --- a/answers/exercise11.sql +++ b/answers/exercise11.sql @@ -0,0 +1 @@ +select PostalCode from Students as Learners; \ No newline at end of file diff --git a/answers/exercise2.sql b/answers/exercise2.sql index e69de29..9fea9e8 100644 --- a/answers/exercise2.sql +++ b/answers/exercise2.sql @@ -0,0 +1 @@ +select * from Students where city = '[acs]%'; \ No newline at end of file diff --git a/answers/exercise3.sql b/answers/exercise3.sql index e69de29..fb82f34 100644 --- a/answers/exercise3.sql +++ b/answers/exercise3.sql @@ -0,0 +1 @@ +select * from Students where city = '[a-f]%'; \ No newline at end of file diff --git a/answers/exercise4.sql b/answers/exercise4.sql index e69de29..3d2f105 100644 --- a/answers/exercise4.sql +++ b/answers/exercise4.sql @@ -0,0 +1 @@ +select * from Students where city = '[^acf]%'; \ No newline at end of file diff --git a/answers/exercise5.sql b/answers/exercise5.sql index e69de29..978eaf2 100644 --- a/answers/exercise5.sql +++ b/answers/exercise5.sql @@ -0,0 +1 @@ +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..be2341c 100644 --- a/answers/exercise6.sql +++ b/answers/exercise6.sql @@ -0,0 +1 @@ +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..5173b70 100644 --- a/answers/exercise7.sql +++ b/answers/exercise7.sql @@ -0,0 +1 @@ +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..cef0249 100644 --- a/answers/exercise8.sql +++ b/answers/exercise8.sql @@ -0,0 +1 @@ +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..9b4dce1 100644 --- a/answers/exercise9.sql +++ b/answers/exercise9.sql @@ -0,0 +1,2 @@ +select * from Courses where courseName +between 'ColdFusion' and 'Python' Order by courseName;