- db.customers.find({“email”: “nicoleanderson@hotmail.com”})
Answer = millerrenee
2)db.movies.find({“title”: “The Kid Brother”})
Answer = 82
Q3) transaction_count: 1746
4) 765
5. db.posts.countDocuments({“title”: “Bill of Rights”})
Ans: 142
6)853
7 -E 31 at &3 Ave, Howard St & Centre st
8. db.restaurants.countDocuments({“borough”: “Bronx”})
Ans: 2338
9-0
10-6346
Anshu_Goyal
(Anshu Goyal)
131
Answers-
1 - millerrenee
2-82
3-1746
4 - 5
5-142
6-852
7-
8-2338
9-0
10-
1.db.customers.find({“email” : “nicoleanderson@hotmail.com”},{username:1,_id:0})
output: {username: ‘millerrenee’}
2.db.movies.find({title:“The Kid Brother”},{“runtime”:4,_id:0})
output : {runtime: 82}
3.1746
4.db.sales.find({“customer.email” : “kave@we.com”},{customer.satisfaction:1,_id:0})
output: 5
5.db.posts.countDocuments({“title”: “Bill of Rights”})
output: 142
6.853
7.‘start station name’: ‘York St & Jay St’, and ‘start station name’: ‘Wythe Ave & Metropolitan Ave’,
8.db.restaurants.countDocuments({“borough”: “Bronx”})
output:2338
9.0
10.6346
Jay_Patel5
(Jay Patel)
133
1: username: millerrenee
2: 82
3: 1746
4:765
5: 142
6: 853
7: E 31 St & 3 Ave , Howard St & Centre St
8: 2338
9: 0
10: 6346
Jabed_Zaman
(Jabed Zaman)
139
q1. millerrenee
q.2 82
q3. 17464
q4.
q5. 142
q6.853
q7. E 31 at &3 ave, howard st & center
q8. 2338
q9. 0
q10.
kya mtlb bhai copy krna bhi nhi aata
hosenur
(Hosenur Rahaman)
146
1.use sample_analytics
db.customers.find({“email":"nicoleanderson@hotmail.com”},{_id:0,username:1})
2. use sample_mflix
db.movies.find({title:“The Kid Brother”},{_id:0,runtime:1})
3. use sample_analytics
4.
5. use sample_trainings
db.posts.countDocuments({title:“Bill of Rights”})
6. use sample_training
db.zips.find({city:“CLEVELAND”,pop:{$gt:500},pop:{$lt:1000}},{_id:0,loc:1})
7.use sample_training
db.trips
8.use sample_restaurants
-
- use sample_airbnb
1.) millerrenee
2) 82
3) 94
4) 5
5) 142
6) x: 35.06537, y: 82.609256
7) 1. Clark St & Henry St
2. Central Park West $ W 72 St
8 )
9)
10) 6346
Ankit_Nayak
(Ankit Nayak)
150
1)millerrenee
2) 82
3)
4) 5
5) 142
6) y: 35.06537 , x:82.609256
7) Clark St & Henry St Central Park West & W 72 St
8) 85
9)
10)