using System.Collections.Generic;
public static void Main()
Console.WriteLine("## Part 1: ##");
RenderEmployeeSQLStatement();
Console.WriteLine("## Part 2: ##");
private static void RenderEmployeeSQLStatement()
Console.WriteLine("Happy December 2022!!! Write the Employee SQL query here.");
private static void RenderEmployeeData()
Console.WriteLine("{output the table here}");
private static void RenderSeparator(int occurences = 100)
for (int i = 0; i <= occurences; i++) {
public string TypeDescription;
public class EmployeeService
private List<Employee> EmployeesData {
return new List<Employee>() {
new Employee() { ID=1, FirstName = "Andy", LastName = "Andy", FullName = "Andy Tan", StartDate="2017-10-21", Type=1, TypeDescription = "Contractor"},
new Employee() { ID=2, FirstName = "Rose", LastName = "Lee", FullName = "Rose Lee", StartDate="2018-02-15", Type=2, TypeDescription = "Permanent"},
new Employee() { ID=3, FirstName = "Jimmy", LastName = "Edison", FullName = "Jimmy Edison", StartDate="2018-02-01", Type=2, TypeDescription = "Permanent"},
new Employee() { ID=4, FirstName = "Marry", LastName = "Lim", FullName = "Marry Lim", StartDate="2019-03-22", Type=3, TypeDescription = "Agent"}
public List<Employee> GetEmployees()
List<Employee> employees = EmployeesData;
return employees.OrderBy(e => e.FullName).ToList();