The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
18. Now that you know how to use subqueries in the WHERE clause, let us use your
skills to address a slightly more involved use case. Imagine that a Canadian store
manager wants to know which products are on the cheaper end and which products
are on the more expensive end. The manager asks you to retrieve the names and
prices of all products that are less than 150 Canadian Dollars or more than 300
Canadian Dollars. Retrieve the results needed for this use case using a single query,
and capture a screenshot of the query and its execution. Make sure to format the
results in Canadian Dollars. The currency symbol for Canadian Dollars is the same as
for U.S. Dollars, the “$” symbol.
DDL is attached below!
D#R#O#P# #T#A#B#L#E# #S#e#l#l#s#;###D#R#O#P# #T#A#B#L#E# #O#f#f#e#r#s#;###D#R#O#P# #T#A#B#L#E# #A#v#a#i#l#a#b#l#e#_#i#n#;###D#R#O#P# #T#A#B#L#E# #S#t#o#r#e#_#l#o#c#a#t#i#o#n#;###D#R#O#P# #T#A#B#L#E# #P#r#o#d#u#c#t#;###D#R#O#P# #T#A#B#L#E# #C#u#r#r#e#n#c#y#;###D#R#O#P# #T#A#B#L#E# #P#u#r#c#h#a#s#e#_#d#e#l#i#v#e#r#y#_#o#f#f#e#r#i#n#g#;###D#R#O#P# #T#A#B#L#E# #S#i#z#e#s#;#####C#R#E#A#T#E# #T#A#B#L#E# #C#u#r#r#e#n#c#y# #(###c#u#r#r#e#n#c#y#_#i#d# #D#E#C#I#M#A#L#(#1#2#)# #N#O#T# #N#U#L#L##P#R#I#M#A#R#Y# #K#E#Y#,###c#u#r#r#e#n#c#y#_#n#a#m#e# #V#A#R#C#H#A#R#(#2#5#5#)# #N#O#T# #N#U#L#L#,###u#s#_#d#o#l#l#a#r#s#_#t#o#_#c#u#r#r#e#n#c#y#_#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