UST interview question

Selenium Xpath, Java Code, DB QUERIES