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