fbpx

70. Displaying Matching Values

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.
 

Given the following table. This table specifies various employees, and each row contains the employee’s number, name, salary, and department number.


CREATE TABLE employees
(employeeID int identity(1,1),
employeeName varchar(25),
salary int,
departmentID int)
GO

To read more

UpScale Analytics is one of the largest platforms in the world for learning SQL by doing, consisting over 300 SQL exercises at different levels (including solutions), by topics, across over 100 different datasets. More…