Allscripts interview question

C#.Net and SQL questions