Databricks Sql Window Interview