3 ms·
Yep. Fortunately a lot of the use cases of IN() are with controlled values - often IDs obtained from a previous query - so string concatenation is safe (and a l
by sellyme 5y ago
Yep. Fortunately a lot of the use cases of IN() are with controlled values - often IDs obtained from a previous query - so string concatenation is safe (and a lot less hassle than the alternatives).
Unfortunately that gets people into the habit of using string concatenation, which is not a great habit to have.