Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Perform the following tasks using MongoDB queries: 1. List only the first 20 names of companies with offices either in California or Texas, ordered by
Perform the following tasks using MongoDB queries:
1. List only the first 20 names of companies with offices either in California or Texas, ordered by the number of employees and sorted largest to smallest.
2. Perform the following tasks using the MongoDB aggregation pipeline:
- Design and implement a pipeline to show the total number of employees by state for all companies that have offices in the United States.
- Design and implement a pipeline to show the names, total number of funding rounds, and average amount of money raised from funding rounds for companies that have funding rounds data, excluding those that do not. Show only the top 10 by average amount raised.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started