MongoDB Basics курс Final exam
В этой статье я запощу вопросы финального экзамена Basic mongodb курса, который можно было пройти в августе 2018.
Final Exam: Question 1
Problem:
Connect to our class Atlas cluster from Compass and view the citibike.trips collection. Use the schema view and any filters you feel are necessary to determine the range of values for the usertype field. Which of the following are values found in this collection for the field usertype?
Ответ:
Подключаемся к кластеру mongodb. Переключаемся на базу данных citibike командой "use citibike". Достаем список различных значений поля usertype командой "db.trips.distinct("usertype")"
7 лет назад
0 комментариев