FIS interview question

About SQL queries , java oops concepts