we are running K means clustering in BigQuery using below syntax.
In the first step we are running k means clustering for k values 1 to 7 and storing k value along with d