Question: How to add specific indexes in bigquery sql? sample json data [{ Female: 0, Male: 9 }, { Female: 7, Male: 13 }, { Female:

How to add specific indexes in bigquery sql?

sample json data

[{ "Female": "0", "Male": "9" }, { "Female": "7", "Male": "13" }, { "Female": "1", "Male": "12" }, . . .

For example: I expect the addition of all Females should be equal to 8 (0+7+1)

For Males should be 34 (9+13+12)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!