What's wrong with this SQL IN list with thousands of IDs?

What's wrong with this SQL IN list with thousands of IDs. The SQL code passes a huge IN clause. In MySQL large IN lists can crash the parser or pick a bad plan. In SQL use a temp table and JOIN instead.

#whatswrongwiththissqlquery #sqlbug #sqlproductionbug #sqldebugging #sqldatabase #sqlcodereview #sqlperformance #sqlreliability #sqlanalytics #sqldataintegrity #sqlengineering #sqlin #sqlla...

https://www.youtube.com/watch?v=hQg2J2ckQBk

Whats wrong with this SQL IN list with thousands of IDs? #sqlreliability

YouTube