Skip to content
Advertisement

Show only in progress records without finalized ones

I have the following table CandidateInterview :

CandidateID InterviewID Status
100 12 Not yet
100 13 In progress

I want to get only the candidates with only with Not Yet status and not other ones

Advertisement

Answer

SQL Fiddle

MS SQL Server 2017 Schema Setup:

Query 1:

Results:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement