sql - Join rows Google BigQuery -


I have a large table in Google BigQuery (i.e. 3 million lines) structure is something like this:

  name1 attribute1 name2 attribute2 name1 attribute2  

Now I want to get the list of attributes per list that they have. So for the above example, I would like something like this:

  name1 attribute1, attribute2 name2 attribute2  

Is it possible with BigQuery (without it Write any code, just as a SQL query)?

I recommend that you use the GROUP_CONCAT function:

    Select name, group_connect (name of the column) is named by your group.  


Comments

Popular posts from this blog

java - org.apache.http.ProtocolException: Target host is not specified -

c# - Chart control: Design messed Up after clearing and re-adding Y-Values -

ruby on rails - Apipie interferes with proper error codes -