WHERE promo_detail_store_id in (8214, 8217, 4952, 8194, ...)
oznacza
WHERE promo_detail_store_id = 8214
OR promo_detail_store_id = 8217
OR promo_detail_store_id = 4952
OR promo_detail_store_id = 8194
OR ...
WHERE promo_detail_store_id in ('8214, 8217, 4952, 8194, ...')
oznacza
WHERE promo_detail_store_id = '8214, 8217, 4952, 8194, ...'
'8214, 8217, 4952, 8194, ...'
przerzuci na numer na 8214
, więc będzie
WHERE promo_detail_store_id = 8214