Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Write a query to return the number of unique electric vehicles ( identified by unique VIN ) per census tract in Washington state along with

Write a query to return the number of unique electric vehicles (identified
by unique VIN) per census tract in Washington state along with the median
household income of that census tract in 2020, for only tracts where the 2020
median household income is available. The query should return only the top 10
tracts ordered by highest median income. The output table should have three
columns: census_tract, num_cars (number of unique cars in that tract), and me-
dian_hh_income_2020.ev_wa
Columns (14)
id
vin
county
city
state
postal_code
model_year
make
model
ev_type
cafv_eligibilit.
electric_range
base_msrp
census_tractColumns (33)
id
gisjoin
year
state_abbrev
region_code
division_code
state_name
state_code
county_name
county_code
county_subdiv_code
place_code
tract_code
city_code
census_geo_id
tribal_census_tract_code
area_name_e
median_hh_income_2020
median_hh_income_2020_1
median_hh_income_2020_2
median_hh_income_2020_3
median_hh_income_2020_4
median_hh_income_2020_5
median_hh_income_2020_6
median_hh_income_2020_7
median_hh_income_2020_error
median_hh_income_2020_error_1
median_hh_income_2020_error_2
median_hh_income_2020_error_3
median_hh_income_2020_error_4
median_hh_income_2020_error_5
median_hh_income_2020_error_6
median_hh_income_2020_error_7
image text in transcribed

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

Question

What are the Five Phases of SDLC? Explain each briefly.

Answered: 1 week ago

Question

How can Change Control Procedures manage Project Creep?

Answered: 1 week ago