Cognizant interview question

SQL queries , C# program