Cognizant interview question

Basic SQL queries. Mainly on using Rows .