Issue with find

I am not able to get results using the find query. I keep getting below error while trying to run IDE in the course.

[js] ReferenceError: sample_training is not defined :
@(shell):1:1

I get the same error with every variation I try.

Hi @Shivani_Maheshwari, welcome to the community.

Just wanted to confirm, that did you try running the command in the following order?

use sample_training

db.<collection-name>.find( )

If yes, that’s really strange. Can you please post a screenshot for the same?
Please include the query you are running and the error that you are getting in the screenshot.

In case you have any doubts, please feel free to reach out to us.

Thanks and Regards.
Sourabh Bagrecha,
Curriculum Services Engineer