Thomson Reuters Interview Question

Basic questions related to sql, Java