HCLTech interview question

Java SQL Hadoop Queries Logics