This advanced SQL exercise is part of the book: Advanced SQL – Practical Techniques and Use-Cases, which includes 100 day-to-day SQL challenges (and solutions), need-to-know advanced features, and key concepts.
The following table is used by a shipping company to store details of its employees. As seen here, each row specifies the employee’s name and number.
CREATE TABLE EmployeesA (EmployeeID INT PRIMARY KEY, EmployeeName VARCHAR(MAX))