Which of the following calculates the average of the values stored in a numeric field named Population?

Question:

Which of the following calculates the average of the values stored in a numeric field named Population?

a. Dim dblAvg As Double =

Aggregate city In CitiesDataSet.tblCities

Select city.Population

Into Average

b. Dim dblAvg As Double =

From city In CitiesDataSet.tblCities

Select city.Population

Into Average

c. Dim dblAvg As Double =

From city In CitiesDataSet.tblCities

Aggregate city.Population

Into Average

d. Dim dblAvg As Double =

From city In CitiesDataSet.tblCities

Average city.Population

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: