SQL Subqueries in Apache Spark 2.0 – Databricks