Tata Power interview question

Sql, java, dbms, pattern, Data structure