EXISTS vs IN — SQL

Understanding the difference

Gaurav Goel
Geek Culture
Published in
3 min readOct 10, 2021

--

Photo by Emily Morter on Unsplash

For Data Scientists and Data Analysts, SQL is a must-know skill. Writing a correct and optimized SQL query is sometimes a work of art. There can be many ways to formulate a SQL query for a given problem but usually one way is better than the rest, given the constraints of the system and the problem at hand.

--

--

Gaurav Goel
Geek Culture

Storyteller, learner, thinker and a Software Professional dealing with Science and Engineering of Data