Spark Sql Join Multiple Tables