Patna MUG: MongoDB Workshop, Speaker Session and Fun!



Patna MongoDB User Group and HackSlash Club NIT are excited to host a workshop filled with an interactive session, quizzes, and fun at the NIT Patna Campus on 10th October 2022.

The workshop will start with an introductory session and demo that will help provide a jumpstart to those new to MongoDB and will conclude with a session on deploying Serverless App on Google Cloud. The session will cover the basics of Serverless and Nextjs and then walk you through deploying your Nextjs-MongoDB App on Google Cloud.

The day will also include Trivia :question: Swags :tshirt: and Snack times to help you have fun while you learn!

The sessions being planned are focused on intermediate database operations. If you are a beginner or have some experience with MongoDB already, there is something for all of you!

:speaker: Based on your quiz performance and participation in Hands On, you may be nominated to be our next Patna MUG Leader! :sparkles: :tada:

Agenda

Time Topic
11:00 AM Meet and Greet
11:10 AM Get Started with MongoDB Atlas
12:00 AM MongoDB Demo and Fun Exercises
12:30 PM Snacks
1:00 PM Speaker Session: Deploying Nextjs Application on Google Cloud
1:30 PM Getting Started with MongoDB Community :handshake:
2:00 PM Trivia :question:

Where?

Event Type: In-Person
Location: NIT Patna Campus

To RSVP - Please click on the ā€œāœ“ Goingā€ link at the top of this event page if you plan to attend. The link should change to a green button if you are Going. You need to be signed in to access the button.

Speakers

Kushagra Kesav,
Software Engineer, MongoDB

Join the Patna Group to stay updated with upcoming meetups and discussions

7 Likes

Also, hereā€™s a list of all the useful things that we will also be talking about:

Thatā€™s it. See you all at the event! :tada:

Thanks,
Kushagra

2 Likes

Q.1 A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username, help them find it using sample_analytics.customers
Ans ā†’ username: ā€œmillerreneeā€,
query ā†’ use sample_analytics
db.customers.find({ā€œemailā€: ā€œnicoleanderson@hotmail.comā€})

Q.2 In sample_mflix.movies, what is the runtime of the movie title ā€œThe Kid Brotherā€?
Ans ā†’ 82
query ā†’ use sample_mflix
db.movies.find({ā€œtitleā€: ā€œThe Kid Brotherā€})

Q.3 In sample_airbnb.listingsAndReviews, how many listings let you accommodates 15 folks?
Ans ā†’ 3
query ā†’ use sample_airbnb
db.listingsAndReviews.countDocuments({ā€œaccommodatesā€: 15})

1 Like

Question 1:)
A customer with email : ā€œnicoleanderson@hotmail.comā€ has forgot their username, please find it using sample_analytics.customers.
Answer 1:)
Query: {email: ā€œnicoleanderson@hotmail.comā€}
username:ā€œmillerreneeā€

Question 2:)
In sample_mflix.movies, what is the runtime of the movie title ā€œThe Kid Brotherā€?
Answer 2:)
Query: {title: ā€œThe Kid Brotherā€}
runtime:82

Question 3:)
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer 3:)
Query: { accommodates: 15}
3(Three) Listings accommodates 15 folks.

1 Like
  1. A customer with email: "nicoleanderson@hotmail.com"has forgot their username, help them find it using sample_analytics.customers?
    Ans ā†’ db.sample_analytics.customers.find({email:ā€œnicoleanderson@hotmail.comā€},{username:1})
    this will project the username ā†’ username: ā€œmillerreneeā€

  2. In sample_mflix.movies, what is the runtime of the movie title ā€œThe Kid Brotherā€?
    Ans ā†’ db.sample_mflix.movies.find({title:ā€œThe Kid Brotherā€},{runtime:1})
    82

  3. In sample_airbnb.listingsAndReviews, how many listings let you accommodates 15 folks?
    Ans ā†’ db.sample_airbnb.listingsAndReviews({accommodates:15}).count()
    3

1 Like

Q1:) A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username ,using sample_analytics.customers?
Ans:) username: ā€œmillerreneeā€
Query:) db.customers.find({email: ā€œnicoleanderson@hotmail.conā€})

Q2:) In sample_mflix.movies,what is runtime of the movie title ā€œThe Kid Brotherā€?
A2:) 82
Query:) db.movies.find({titile: ā€œThe Kid Brotherā€ })

Q3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
A3:) 3
Query:) db.listingsAndReviews.countDocuments({accommodates: 15})

1 Like

q1:) A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username ,using sample_analytics.customers?
ans:) username : ā€œmillerreneeā€
query:) db.customers.find({email: ā€œnicoleanderson@hotmail.conā€})

q2:) In sample_mflix.movies,what is runtime of the movie title ā€œThe Kid Brotherā€?
ans:) runtime : 82
query: db.movies.find({titile: ā€œThe Kid Brotherā€ })

q3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
ans:) 3
query: db.listingsAndReviews.countDocuments({accommodates: 15})

1 Like

Ques1:) A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username ,using sample_analytics.customers?
Answer:) username : ā€œmillerreneeā€
Query:) db.customers.find({email: ā€œnicoleanderson@hotmail.conā€})

Ques2:) In sample_mflix.movies,what is runtime of the movie title ā€œThe Kid Brotherā€?
Answer:) runtime : 82
Query: db.movies.find({Title: ā€œThe Kid Brotherā€ })

Ques3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Answer:) 3
Query: db.listingsAndReviews.countDocuments({accommodates: 15})

1 Like

Ques1:) A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username ,using sample_analytics.customers?
Solution:) username : ā€œmillerreneeā€
Query:) db.customers.find({email: ā€œnicoleanderson@hotmail.conā€})

Ques2:) In sample_mflix.movies,what is runtime of the movie title ā€œThe Kid Brotherā€?
Solution:) runtime : 82
Query: db.movies.find({Title: ā€œThe Kid Brotherā€ })

Ques3:) In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Solution:) 3
Query: db.listingsAndReviews.countDocuments({accommodates: 15})

1 Like

Query 1:
use sample_analytics
db.customers.find({email:ā€œnicoleanderson@hotmail.comā€},{username:1, _id:0})
Output: [{ username: ā€œmillerreneeā€}]

Query 2:
use sample_mflix
db.movies.find({title:ā€œThe Kid Brotherā€},{runtime:1, _id:0})
Output:
[{runtime:82}]

Query 3:
use sample_airbnb
db.listingsAndReviews.countDocuments({accommodates:15})
Output:
3

1 Like

Ques 1:A customer with email: ā€œnicoleanderson@hotmail.comā€ has forgot their username, please help them find it using sample_analytics.customers?
Output: [{username: ā€œmillerreneeā€}]
Query:
use sample_analytics
db.customers.find({email:ā€œnicoleanderson@hotmail.comā€})

Ques 2:In sample_mflix.movies,what is runtime of the movie title ā€œThe Kid Brotherā€?
Output:
[{runtime:82}]
Query:
use sample_mflix
db.movies.find({title:ā€œThe Kid Brotherā€})

Ques 3:In sample_airbnb.listingsAndReviews ,how many listing let you accomodates 15 folks?
Output:
3
Query:
use sample_airbnb
db.listingsAndReviews.countDocuments({accommodates:15})

1 Like

Question 1:
A customer with email : ā€œnicoleanderson@hotmail.comā€ has forgot their username, please find it using sample_analytics.customers.
Answer:
Query: use sample_analytics
db.customers.find({ā€œemailā€: ā€œnicoleanderson@hotmail.comā€})

ā†’ username:ā€œmillerreneeā€

Question 2:
In sample_mflix.movies, what is the runtime of the movie title ā€œThe Kid Brotherā€?
Answer:
Query: use sample_mflix
db.movies.find({ā€œtitleā€: ā€œThe Kid Brotherā€})

ā€“>runtime:82

Question 3:
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer:
Query: use sample_airbnb
db.listingsAndReviews.countDocuments({ā€œaccommodatesā€: 15})

ā€“>3(Three) Listings accommodate 15 folks.

1 Like

Question 1:
A customer with email : ā€œnicoleanderson@hotmail.comā€ has forgot their username, please find it using sample_analytics.customers.
Answer:
Query: use sample_analytics
db.customers.find({ā€œemailā€: ā€œnicoleanderson@hotmail.comā€})

OUTPUTā†’ username:ā€œmillerreneeā€

Question 2:
In sample_mflix.movies, what is the runtime of the movie title ā€œThe Kid Brotherā€?
Answer:
Query: use sample_mflix
db.movies.find({ā€œtitleā€: ā€œThe Kid Brotherā€})

OUTPUTā€“>runtime:82

Question 3:
In sample_airbnb.listingsAndReviews, how many listing let you accommodates 15 folks?
Answer:
Query: use sample_airbnb
db.listingsAndReviews.countDocuments({ā€œaccommodatesā€: 15})

OUTPUTā€“>3

2 Likes

Question 1:
use sample_analytics
db.customers.find({email:ā€œnicoleanderson@hotmail.comā€},{username:1, _id:0})
Output:
[{ username: ā€œmillerreneeā€}]

Question 2:
use sample_mflix
db.movies.find({title:ā€œThe Kid Brotherā€},{runtime:1, _id:0})
Output:
[{runtime:82}]

Question 3:
use sample_airbnb
db.listingsAndReviews.countDocuments({accommodates:15})
Output:
3

2 Likes