Infosys Interview Question

Pyspark basic logic. Databricks Question Sql