Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
= is used for direct comparison with a single value,
works well with nested queries with an aggregate function, or an exact character-by-character value
IN is used if there are several comparison options, and any of the above is suitable, for example,
I need to select a sweater, where the color is IN ('blue', 'brown', 'green')
would be faster than writing
WHERE color = 'blue' OR color = 'brown' OR color = 'green'
x = a
или
x IN [a, b, c]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question