Computers and Technology

From the data tables, determine the location having the most companies. List the names of the employees who work in that location and the names of their companies. The output should consists of two columns: People, Name Companies. Name. The rows may be in any order. Schema
There are 3 tables: PEOPLE, COMPANIES, LOCATIONS.
PEOPLE
Name Type Description
ID STRING Unique ID of the person.
NAME STRING NAME of the person
COMPANY_ID STRING ID of the company that person works for
COMPANIES
Name Type Description
ID STRING Unique ID of the company
NAME STRING NAME of the company
LOCATION_ID STRING ID of the location of the company
LOCATIONS
Name Туре Description
ID STRING Unique ID of the location
NAME STRING Name of the location
Sample Data Tables
PEOPLE
ID NAME COMPANY_ID
a3c7f250f72e452fa5030d587f14922b Chris 0734a7703d1d4dab8f87be8396415452 71a1e133e7ca4f128f43eed1f5a3a8bc Sam 55865e7b74ef46a389a1edb9de030b9c 5a439620490646158bc6dd548ddeab21 Faker 2268c402cdfd48c4a7ee8d3a88c162e0
COMPANIES
ID NAME LOCATION_ID
0734a7703d1d4dab8f87be8396415452 Wright-Phillips e2ec9af444ff4e1aaa0b2f4aa19e7063 55865e7b74ef46a389a1edb9de030b9c HazardEden e2ec9af444ff4e 1 aaa0b2f4aa19e7063 2268c402cdfd48c4a7ee8d3a88c162e0 Palmieri 2268c402cdfd48c4a7ee8d3a88c162e0
LOCATIONS
ID NAME
e2ec9af444ff4e1aaa0b2f4aa 19e7063 Wrightmouth
b927735edd1d4354a0a45d8c22e45a53 New Joseph
Sample Output
Chris Wright-Phillips
Sam Hazard Eden
Explanation
Wrightmouth is the location with the most companies. Chris and Sam work there at the companies listed.

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:00, wbrandi118
What role do chromosomes play in inheritance?
Answers: 1
image
Computers and Technology, 22.06.2019 10:00, danthehero56
Which of the following is true of operations within a spreadsheet program’s built-in functions? a. operations within parentheses, then multiplication and division, and then addition and subtraction are computed. b. operations within parentheses, then addition and subtraction, and then multiplication and division are computed. c. multiplication and division, then addition and subtraction, and then operations within parentheses are computed. d. addition and subtraction, then multiplication and division, and then operations within parentheses are computed
Answers: 2
image
Computers and Technology, 22.06.2019 11:20, destinyleisantos
The kurt vonnegut commencement speech, the neiman-marcus chocolate chip cookie recipe, and the get-well emails to the dying boy are examples of select one: a. social engineering b. hoax emails c. email viruses d. worms
Answers: 1
image
Computers and Technology, 22.06.2019 16:00, eden1017
Why should characters such as / \ " ' * ; - ? [ ] ( ) ~ ! $ { } < > # @ & | space, tab, and newline be avoided in file names?
Answers: 2
Do you know the correct answer?
From the data tables, determine the location having the most companies. List the names of the employ...

Questions in other subjects:

Konu
Biology, 21.05.2021 19:00
Konu
Biology, 21.05.2021 19:00