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.
 

A company needs to recruit a BI developer to its Data team. To document job interviews, the HR department uses the following tables:

Candidate table – this table describes the various candidates that are about to undergo a job interview. As can be seen below, each row indicates the candidate’s name and number.


CREATE TABLE candidates
(c_id int identity(1,1),
c_name varchar(25))
GO

Would you like to read more?