I have a BigQuery table like this:
Required Output is :
Note : The keys in Extended_property_key column are not fixed, it keeps on adding frequently. Hence the columns in Output will also keep on adding.
I need to build a Bigquery which can handle dynamic adding of columns in output query along with pivoting.