Computers and Technology

Prompt: after completing the text book reading and reviewing the mongoimport documentation in the module resources, complete the following tasks using the mongo db shell in codio:
1. using the mongo import tool, load the database "companies" with documents found in the "companies. json" file into the "research" collection. verify your load by issuing the following queries:
a. db. research. find({"name" : "adventnet"})
b. db. research. find({"founded_year" : 1996},{"name" : 1}).limit(10) provide screen shots of the results as evidence.
2. perform the following tasks using mongo db queries:
a. list alphabetically only the first 20 names of companies founded after the year 2010.
b. 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.
3. perform the following tasks using the mongo db aggregation pipeline:
a. design and implement a pipeline to show the total number of employees by state for all companies that have offices in the united states.
b. 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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 04:31, mona92
Which of the following is not a way in which trees benefit the environment? a. they remove a significant amount of carbon dioxide from the atmosphere. b. they remove a significant amount of oxygen from the atmosphere. c. their roots hold soil in place, reducing rates of erosion. d. they remove ozone and particulates from the atmosphere. select the best answer from the choices provided a b c d
Answers: 1
image
Computers and Technology, 23.06.2019 13:30, valeriegarcia12
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
image
Computers and Technology, 24.06.2019 23:30, ninja12302
Does anyone have the problem where you try to watch a video to get your answer but it brings up a thing asking your gender to make ads relevant but it doesn't load? btw i won't be able to see the answer so use the comments .
Answers: 1
image
Computers and Technology, 25.06.2019 08:30, alemvp7258
When converting the erd to a table design, how should you handle the assignedto relationship? (be sure to include a discussion of primary keys, foreign keys, and tables in your answer.)11. true/false projectid will be a foreign key in the employees table to reflect the โ€œmanagesโ€ relationship.12. after converting the erd to a table design, what fields will be present in the contracts
Answers: 3
Do you know the correct answer?
Prompt: after completing the text book reading and reviewing the mongoimport documentation in the m...

Questions in other subjects:

Konu
History, 04.09.2020 15:01