Google Professional Data Engineer Exam Professional-Data-Engineer Question # 33 Topic 4 Discussion

Google Professional Data Engineer Exam Professional-Data-Engineer Question # 33 Topic 4 Discussion

Professional-Data-Engineer Exam Topic 4 Question 33 Discussion:
Question #: 33
Topic #: 4

Suppose you have a table that includes a nested column called "city" inside a column called "person", but when you try to submit the following query in BigQuery, it gives you an error.

SELECT person FROM `project1.example.table1` WHERE city = "London"

How would you correct the error?


A.

Add ", UNNEST(person)" before the WHERE clause.


B.

Change "person" to "person.city".


C.

Change "person" to "city.person".


D.

Add ", UNNEST(city)" before the WHERE clause.


Get Premium Professional-Data-Engineer Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.