Infosys interview question

Selenium Testcase design SQL - Join and Few basic questions