4
Answers

How to explain this logic and ways to avoid?

Guest User

Guest User

4y
695
1
Hi Team
 
I have this query, how do you explain this result and ways to avoid that it does not happen in sql server.?
  1. SELECT * FROM runners WHERE id NOT IN (SELECT winner_id FROM races)  
  2.   
  3. // output  
  4.   
  5. Id column empty  
  6. name column empty  
 
Answers (4)