I realize most of the time you don't want this, but I'm looking for a way to get duplicate rows using IN.
SELECT `id`, `name`
FROM `users`
WHERE `id` IN
(11, 11, 3, 11, 6)
My desired result:
+----+---------+
| id | name |
+----+---------+
| 11 | Alice |
| 11 | Alice |
| 3 | Bob |
| 11 | Alice |
| 6 | Charlie |
+----+---------+
This is a really simplified example, but in the real query, being able to do this with IN would make my life about 1000 times easier.