title: task on sql I can not understand an essence of the decision
body: <p>Company N has call centers in Moscow and St. Petersburg, each of which employs several people. Due to the crisis, it was decided to lay off one employee in each city, and in order to maximize the savings, it was decided to cut the employee with the maximum salary for this city. If employees in the same city have the same salary, then a less experienced employee should be laid off, that is, one who got a job later. There are no employees with the same salary and date of employment in the company.</p>
  <p>Get a list of employees to be made redundant.</p>
  <p>The input table is Employees,</p>
  <pre><code>CREATE TABLE Employees
  (
      EmployeeID INT AUTO_INCREMENT PRIMARY KEY,
      City NVARCHAR(50) NOT NULL,
      EmployeeName NVARCHAR(100) NOT NULL,
      EmployeeSalaryRub INT NOT NULL,
      EmploymentDate DATE NOT NULL
  );
  </code></pre>
  <p>The output should return the <code>City</code> and <code>EmployeeName</code> columns, sorted alphabetically by <code>EmployeeName</code>.</p>