Bigquery Group By Mysql