[lecture notes typo] Chapter 5: Indexing and Aggregation Pipeline Introduction to Indexes

use sample_training

db.trips.find({ “birth year”: 1989 })

db.trips.find({ “start station id”: 476 }).sort( { “birth year”: 1 } )

db.trips.createIndex({ “birth year”: 1 })

db.trips.createIndex({ “start station id”: 476, “birth year”: 1 })

use sample_training

I believe it should be…

db.trips.find({ “birth year”: 1989 })

db.trips.find({ “start station id”: 476 }).sort( { “birth year”: 1 } )

db.trips.createIndex({ “birth year”: 1 })

db.trips.createIndex({ “start station id”: 1, “birth year”: 1 })

Hi @Andrew_Kim,

Thanks for sharing the feedback. We will update it.

~ Shubham