IBM Interview Question

sql question to fetch data from a database