Answered step by step
Verified Expert Solution
Link Copied!

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:

  1. Design and implement a pipeline to show the total number of employees by state for all companies that have offices in the United States.
  2. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions