Use the following questions to help you review the material in this tutorial.
Quiz Summary
0 of 6 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 6 Questions answered correctly
Time has elapsed
Categories
- Not categorized 0%
-
You’ve finished the quiz! Move on to the next lesson or click on View Questions to review the quiz.
-
Well done! Move on to the next lesson or click on View Questions to review the quiz.
- 1
- 2
- 3
- 4
- 5
- 6
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 6
1. Question
You create a
SELECT
statement in SQL Query that retrieves data from thecustomers
collection. After you run the statement, you view the mongo shellfind
statement that was generated for the SQLSELECT
statement.Which
SELECT
statement clause maps to the projection section in thefind
statement?CorrectIncorrect -
Question 2 of 6
2. Question
You launch SQL Query and create the following SQL statement, which retrieves data from the customers collection:
select first, last, transactions from customers where address.state = 'Oregon' order by transactions desc;
After you run the SQL statement, you view the
mongo
shellfind
statement on the Query Code tab. Which expression appears in the sort section of thefind
statement?CorrectIncorrect -
Question 3 of 6
3. Question
You are building an SQL statement in SQL Query that retrieves data from the
customers
collection. You want to limit the results to customers born before the year 1980, based on the values in thedob
field.Which clause should you include in your statement:
CorrectIncorrect -
Question 4 of 6
4. Question
You launch SQL Query and create the following SQL statement, which retrieves data from the
customers
collection:select first, last from customers where interests like '%gaming%' order by last, first;
After you run the SQL statement, you view the mongo shell
find
statement on the Query Code tab. Which expression appears in the query section of thefind
statement?CorrectIncorrect -
Question 5 of 6
5. Question
You launch SQL Query and create the following SQL statement, which retrieves data from the
customers
collection:select address.state, sum(transactions) from customers group by address.state order by sum(transactions) desc;
After you run the SQL statement, you go to the Query Code tab. What type of mongo shell statement has SQL Query created?
CorrectIncorrect -
Question 6 of 6
6. Question
You launch SQL Query and create an SQL statement that retrieves data from the
customers
collection. After you run the statement, you go to the Query Code tab to view the mongo shellaggregate
statement.You now want to edit the statement in the Aggregation Editor. Which step should you take?
CorrectIncorrect