SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_varchar` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173480, 173481, 173482, 173483, 173484, 173485, 173486, 173487, 173488, 173489, 173490, 173491, 173492, 173493, 173494, 173495, 173496, 173497, 173498, 173499, 173500, 173501, 173502, 173503, 173504, 173505, 173506, 173507, 173508, 173509, 173510, 173511, 173512, 173513, 173514, 173515, 173516, 173517, 173518, 173519, 173520, 173521, 173522, 173523, 173524, 173525, 173526, 173527, 173528, 173530, 173592, 173597, 179842, 179848, 179927, 173435, 173436, 173437, 173438, 173439, 173440, 173441, 173442, 173443, 173444, 173445, 173446, 173447, 173448, 173449, 173450, 173451, 173452, 173453, 173454, 173455, 173456, 173457, 173458, 173459, 173460, 173461, 173462, 173463, 173464, 173465, 173466, 173467, 173468, 173469, 173470, 173471, 173472, 173473, 173474, 173475, 173476, 173478, 173479, 175462, 175474, 175484, 175488, 175489, 175493, 175497, 175506, 175509, 175510, 175513, 175518, 175522, 175523, 175544, 175564, 175589, 175636, 175661, 175662, 175691, 175694, 175697, 175798, 175799, 175801, 175803, 175805, 175818, 175819, 175834, 175835, 175839, 175840, 175842, 175846, 175849, 175939, 175945, 175947, 175975, 175992, 175993, 176005, 176018, 176060, 176061, 176382, 176481, 176541, 176581, 176588, 176601, 176604, 176612, 176617, 176676, 176713, 176723, 176745, 176746, 176794, 176807, 176813, 176819, 176830, 176899, 176925, 176940, 176941, 176945, 176947, 176968, 176969, 177050, 177105, 177106, 177111, 177125, 177128, 177129, 177142, 177145, 177188, 177189, 177348, 177386, 177387, 177396, 177397, 177434, 177435, 177441, 177443, 177462, 177469, 177474, 177480, 177491, 177494, 177500, 177501, 177531, 177532, 177540, 177541, 177543, 177549, 177565, 177580, 177591, 177595, 177600, 177601, 177630, 177637, 177653, 177682, 177696, 177697, 177700, 177723, 177724, 177725, 177732, 177734, 177750, 177772, 177773, 177786, 177795, 177813, 177814, 177817, 177818, 177819, 177836, 177837, 177856, 177858, 177860, 177907, 177947, 177970, 177984, 178056, 178092, 178149, 178182, 178187, 178196, 178207, 178224, 178227, 178305, 178313, 178314, 178357, 178358, 178379, 178380, 178385, 178397, 178416, 178447, 178466, 178549, 178581, 178617, 178716, 178719, 178720, 178733, 178734, 178831, 178832, 178838, 178841, 178876, 178885, 178886, 178901, 178918, 178959, 178976, 179009, 179012, 179098, 179100, 179104, 179105, 179108, 179134, 179136, 179248, 179253, 179264, 179266, 179332, 179333, 179364, 179365, 179375, 179376, 179428, 179429, 179480, 179481, 179482, 179483, 179485, 179494, 179499, 179560, 179561, 179563, 179564, 179568, 179569, 179570, 179615, 179616, 179725, 179813, 179818, 179819, 179824, 179829, 179862, 179863, 179867, 179871, 179877, 179879, 179890, 179929, 179972, 179980, 179981, 179989, 179990, 179991, 179992, 179993, 180015, 180031, 216369, 216385, 216390, 216398, 216411, 216431, 216433, 216466, 216467, 216470, 216471, 216476, 216482, 216483, 216485, 216489, 216490, 216494, 216498, 216504, 216506, 216512, 216519, 216529, 216543, 216553, 216559, 216560, 216561, 216574, 216577, 216583, 216590, 216591, 216595, 216596, 216597, 216598, 216599, 216600, 216604, 216607, 216608, 216609, 216613, 216618, 216619, 216622, 216623, 216625, 216626, 216629, 216697, 304407, 304408, 304409, 304410, 304411, 304412, 304413, 304414, 304415, 304416, 304417, 304418, 304419, 304420, 304421, 304422, 304423, 304424, 304425, 304426, 304427, 304428, 304429, 304430, 304431, 304432, 304433, 304434, 304435, 304436, 304437, 304438, 304439, 304440, 304441, 304442, 304443, 304444, 304445, 304446, 304447, 304448, 304449, 304450, 304451, 304452, 304453, 304454, 304455, 304456, 304457, 304458, 304459, 304460, 304461, 304462, 304463, 304464, 304465, 304466, 304467, 304468, 304469, 304470, 304471, 304472, 304473, 304474, 304475, 304476, 304477, 304478, 304479, 304480, 304481, 304482, 304483, 304484, 304485, 304486, 304487, 304488, 304489, 304490, 304491, 304492, 304493, 304494, 304495, 304496, 304497, 304498, 304499, 304500, 304501, 304502, 304503, 304504, 304505, 304506, 304507, 304508, 304509, 304510, 304511, 304512, 304513, 304514, 304515, 304516, 304517, 304518, 304519, 304520, 304521, 304522, 304523, 304524, 304525, 304526, 304527, 304528, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304541, 304542, 304543, 304544, 304545, 304546, 304547, 304548, 304549, 304550, 304551, 304552, 304553, 304554, 304555, 304556, 304557, 304558, 304559, 304560, 304561, 304562, 304563, 304564, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304572, 304573, 304574, 304575, 304576, 304577, 304578, 304579, 304580, 304581, 304582, 304583, 304584, 304585, 304586, 304587, 304588, 304589, 304590, 304591, 304592, 304593, 304594, 304595, 304596, 304597, 304598, 304599, 304600, 304601, 304602, 304603, 304604, 304605, 304606, 304607, 304608, 304609, 304610, 304611, 304612, 304613, 304614, 304615, 304616, 304617, 304618, 304619, 304620, 304621, 304622, 304623, 304624, 304625, 304626, 304627, 304628, 304629, 304630, 304631, 304632, 304633, 304634, 304635, 304636, 304637, 304638, 304639, 304640, 304641, 304642, 304643, 304644, 304645, 304646, 304647, 304648, 304649, 304650, 304651, 304652, 304653, 304654, 304655, 304656, 304657, 304658, 304659, 304660, 304661, 304662, 304663, 304664, 304665, 304666, 304667, 304668, 304669, 304670, 304671, 304672, 304673, 304674, 304675, 304676, 304677, 304678, 304679, 304680, 304681, 304682, 304683, 304684, 304685, 304686, 304687, 304688, 304689, 304690, 304691, 304692, 304693, 304694, 304695, 304696, 304697, 304698, 304699, 304700, 304701, 304702, 304703, 304704, 304705, 304706, 304707, 304708, 304709, 304710, 304711, 304712, 304713, 304714, 304715, 304716, 304717, 304718, 304719, 304720, 304721, 304722, 304723, 304724, 304725, 304726, 304727, 304728, 304729, 304730, 304731, 304732, 304733, 304734, 304735, 304736, 304737, 304738, 304739, 304740, 304741, 304742, 304743, 304744, 304745, 304746, 304747, 304748, 304749, 304750, 304751, 304752, 304753, 304754, 304755, 304756, 304757, 304758, 304759, 304760, 304761, 304762, 304763, 304764, 304765, 304766, 304767, 304768, 304769, 304770, 304771, 304772, 304773, 304774, 304775, 304776, 304777, 304778, 304779, 304780, 304781, 304782, 304783, 304784, 304785, 304786, 304787, 304788, 304789, 304790, 304791, 304792, 304793, 304794, 304795, 304796, 304797, 304798, 304799, 304800, 304801, 304802, 304803, 304804, 304805, 304806, 304807, 304808, 304809, 304810, 304811, 304812, 304813, 304814, 304815, 304816, 304817, 304818, 304819, 304820, 304821, 304822, 304823, 304824, 304825, 304826, 304827, 304828, 304829, 304830, 304831, 304832, 304833, 304834, 304835, 304836, 304837, 304838, 304839, 304840, 304841, 304842, 304843, 304844, 304845, 304846, 304847, 304848, 304849, 304850, 304851, 304852, 304853, 304854, 304855, 304856, 304857, 304858, 304859, 304860, 304861, 304862, 304863, 304864, 304865, 304866, 304867, 304868, 304869, 304870, 304871, 304872, 304873, 304874, 304875, 304876, 304877, 304878, 304879, 304880, 304881, 304882, 304883, 304884, 304885, 304886, 304887, 304888, 304889, 304890, 304891, 304892, 304893, 304894, 304895, 304896, 304897, 304898, 304899, 304900, 304901, 304902, 304903, 304904, 304905, 304906, 304907, 304908, 304909, 304910, 304911, 304912, 304913, 304914, 304915, 304916, 304917, 304918, 304919, 304920, 304921, 304922, 304923, 304924, 304925, 304926, 304927, 304928, 304929, 304930, 304931, 304932, 304933, 304934, 304935, 304936, 304937, 304938, 304939, 304940, 304941, 304942, 304943, 304944, 304945, 304946, 304947, 304948, 304949, 304950, 304951, 304952, 304953, 304954, 304955, 304956, 304957, 304958, 304959, 304960, 304961, 304962, 304963, 304964, 304965, 304966, 304967, 304968, 304969, 304970, 304971, 304972, 304973, 304974, 304975, 304976, 304977, 304978, 304979, 304980, 304981, 304982, 304983, 304984, 304985, 304986, 304987, 304988, 304989, 304990, 304991, 304992, 304993, 304994, 304995, 304996, 304997, 304998, 304999, 305000, 305001, 305002, 305003, 305004, 305005, 305006, 305007, 305008, 305009, 305010, 305011, 305012, 305013, 305014, 305015, 305016, 305017, 305018, 305019, 305020, 305021, 305022, 305023, 305024, 305025, 305026, 305027, 305028, 305029, 305030, 305031, 305032, 305033, 305034, 305035, 305036, 305037, 305038, 305039, 305040, 305041, 305042, 305043, 305044, 305045, 305046, 305047, 305048, 305049, 305050, 305051, 305052, 305053, 305054, 305055, 305056, 305057, 305058, 305059, 305060, 305061, 305062, 305063, 305064, 305065, 305066, 305067, 305068, 305069, 305070, 305071, 305072, 305073, 305074, 305075, 305076, 305077, 305078, 305079, 305080, 305081, 305082, 305083, 305084, 305085, 305086, 305087, 305088, 305089, 305090, 305091, 305092, 305093, 305094, 305095, 305096, 305097, 305098, 305099, 305100, 305101, 305102, 305103, 305104, 305105, 305106, 305107, 305108, 305109, 305110, 305111, 305112, 305113, 305114, 305115, 305116, 305117, 305118, 305119, 305120, 305121, 305122, 305123, 305124, 305125, 305126, 305127, 305128, 305129, 305130, 305131, 305132, 305133, 305134, 305135, 305136, 305137, 305138, 305139, 305140, 305141, 305142, 305143, 305144, 305145, 305146, 305147, 305148, 305149, 305150, 305151, 305152, 305153, 305154, 305155, 305156, 305157, 305158, 305159, 305160, 305161, 305162, 305163, 305164, 305165, 305166, 305167, 305168, 305169, 305170, 305171, 305172, 305173, 305174, 305175, 305176, 305177, 305178, 305179, 305180, 305181, 305182, 305183, 305184, 305185, 305186, 305187, 305188, 305189, 305190, 305191, 305192, 305193, 305194, 305195, 305196, 305197, 305198, 305199, 305200, 305201, 305202, 305203, 305204, 305205, 305206, 305207, 305208, 305209, 305210, 305211, 305212, 305213, 305214, 305215, 305216, 305217, 305218, 305219, 305220, 305221, 305222, 305223, 305224, 305225, 305226, 305227, 305228, 305229, 305230, 305231, 305232, 305233, 305234, 305235, 305236, 305237, 305238, 305239, 305240, 305241, 305242, 305243, 305244, 305245, 305246, 305247, 305248, 305249, 305250, 305251, 305252, 305253, 305254, 305255, 305256, 305257, 305258, 305259, 305260, 305261, 305262, 305263, 305264, 305265, 305266, 305267, 305268, 305269, 305270, 305271, 305272, 305273, 305274, 305275, 305276, 305277, 305278, 305279, 305280, 305281, 305282, 305283, 305284, 305285, 305286, 305287, 305288, 305289, 305290, 305291, 305292, 305293, 305294, 305295, 305296, 305297, 305298, 305299, 305300, 305301, 305302, 305303, 305304, 305305, 305306, 305307, 305308, 305309, 305310, 305311, 305312, 305313, 305314, 305315, 305316, 305317, 305318, 305319, 305320, 305321, 305322, 305323, 305324, 305325, 305326, 305327, 305328, 305329, 305330, 305331, 305332, 305333, 305334, 305335, 305336, 305337, 305338, 305339, 305340, 305341, 305342, 305343, 305344, 305345, 305346, 305347, 305348, 305349, 305350, 305351, 305352, 305353, 305354, 305355, 305356, 305357, 305358, 305359, 305360, 305361, 305362, 305363, 305364, 305365, 305366, 305367, 305368, 305369, 305370, 305371, 305372, 305373, 305374, 305375, 305376, 305377, 305378, 305379, 305380, 305381, 305382, 305383, 305384, 305385, 305386, 305387, 305388, 305389, 305390, 305391, 305392, 305393, 305394, 305395, 305396, 305397, 305398, 305399, 305400, 305401, 305402, 305403, 305404, 305405, 305406, 305407, 305408, 305409, 305410, 305411, 305412, 305413, 305414, 305415, 305416, 305417, 305418, 305419, 305420, 305421, 305422, 305423, 305424, 305425, 305426, 305427, 305428, 305429, 305430, 305431, 305432, 305433, 305434, 305435, 305436, 305437, 305438, 305439, 305440, 305441, 305442, 305443, 305444, 305445, 305446, 305447, 305448, 305449, 305450, 305451, 305452, 305453, 305454, 305455, 305456, 305457, 305458, 305459, 305460, 305461, 305462, 305463, 305464, 305465, 305466, 305467, 305468, 305469, 305470, 305471, 305472, 305473, 305474, 305475, 305476, 305477, 305478, 305479, 305480, 305481, 305482, 305483, 305484, 305485, 305486, 305487, 305488, 305489, 305490, 305491, 305492, 305493, 305494, 305495, 305496, 305497, 305498, 305499, 305500, 305501, 305502, 305503, 305504, 305505, 305506, 305507, 305508, 305509, 305510, 305511, 305512, 305513, 305514, 305515, 305516, 305517, 305518, 305519, 305520, 305521, 305522, 305523, 305524, 305525, 305526, 305527, 305528, 305529, 305530, 305531, 305532, 305533, 305534, 305535, 305536, 305537, 305538, 305539, 305540, 305541, 305542, 305543, 305544, 305545, 305546, 305547, 305548, 305549, 305550, 305551, 305552, 305553, 305554, 305555, 305556, 305557, 305558, 305559, 305560, 305561, 305562, 305563, 305564, 305565, 305566, 305567, 305568, 305569, 305570, 305571, 305572, 305573, 305574, 305575, 305576, 305577, 305578, 305579, 305580, 305581, 305582, 305583, 305584, 305585, 305586, 305587, 305588, 305589, 305590, 305591, 305592, 305593, 305594, 305595, 305596, 305597, 305598, 305599, 305600, 305601, 305602, 305603, 305604, 305605, 305606, 305607, 305608, 305609, 305610, 305611, 305612, 305613, 305614, 305615, 305616, 305617, 305618, 305619, 305620, 305621, 305622, 305623, 305624, 305625, 305626, 305627, 305628, 305629, 305630, 305631, 305632, 305633, 305634, 305635, 305636, 305637, 305638, 305639, 305640, 305641, 305642, 305643, 305644, 305645, 305646, 305647, 305648, 305649, 305650, 305651, 305652, 305653, 305654, 305655, 305656, 305657, 305658, 305659, 305660, 305661, 305662, 305663, 305664, 305665, 305666, 305667, 305668, 305669, 305670, 305671, 305672, 305673, 305674, 305675, 305676, 305677, 305678, 305679, 305680, 305681, 305682, 305683, 305684, 305685, 305686, 305687, 305688, 305689, 305690, 305691, 305692, 305693, 305694, 305695, 305696, 305697, 305698, 305699, 305700, 305701, 305702, 305703, 305704, 305705, 305706, 305707, 305708, 305709, 305710, 305711, 305712, 305713, 305714, 305715, 305716, 305717, 305718, 305719, 305720, 305721, 305722, 305723, 305724, 305725, 305726, 305727, 305728, 305729, 305730, 305731, 305732, 305733, 305734, 305735, 305736, 305737, 305738, 305739, 305740, 305741, 305742, 305743, 305744, 305745, 305746, 305747, 305748, 305749, 305750, 305751, 305752, 305753, 305754, 305755, 305756, 305757, 305758, 305759, 305760, 305761, 305762, 305763, 305764, 305765, 305766, 305767, 305768, 305769, 305770, 305771, 305772, 305773, 305774, 305775, 305776, 305777, 305778, 305779, 305780, 305781, 305782, 305783, 305784, 305785, 305786, 305787, 305788, 305789, 305790, 305791, 305792, 305793, 305794, 305795, 305796, 305797, 305798, 305799, 305800, 305801, 305802, 305803, 305804, 305805, 305806, 305807, 305808, 305809, 305810, 305811, 305812, 305813, 305814, 305815, 305816, 305817, 305818, 305819, 305820, 305821, 305822, 305823, 305824, 305825, 305826, 305827, 305828, 305829, 305830, 305831, 305832, 305833, 305834, 305835, 305836, 305837, 305838, 305839, 305840, 305841, 305842, 305843, 305844, 305845, 305846, 305847, 305848, 305849, 305850, 305851, 305852, 305853, 305854, 305855, 305856, 305857, 305858, 305859, 305860, 305861, 305862, 305863, 305864, 305865, 305866, 305867, 305868, 305869, 305870, 305871, 305872, 305873, 305874, 305875, 305876, 305877, 305878, 305879, 305880, 305881, 305882, 305883, 305884, 305885, 305886, 305887, 305888, 305889, 305890, 305891, 305892, 305893, 305894, 305895, 305896, 305897, 305898, 305899, 305900, 305901, 305902, 305903, 305904, 305905, 305906, 305907, 305908, 305909, 305910, 305911, 305912, 305913, 305914, 305915, 305916, 305917, 305918, 305919, 305920, 305921, 305922, 305923, 305924, 305925, 305926, 305927, 305928, 305929, 305930, 305931, 305932, 305933, 305934, 305935, 305936, 305937, 305938, 305939, 305940, 305941, 305942, 305943, 305944, 305945, 305946, 305947, 305948, 305949, 305950, 305951, 305952, 305953, 305954, 305955, 305956, 305957, 305958, 305959, 305960, 305961, 305962, 305963, 305964, 305965, 305966, 305967, 305968, 305969, 305970, 305971, 305972, 305973, 305974, 305975, 305976, 305977, 305978, 305979, 305980, 305981, 305982, 305983, 305984, 305985, 305986, 305987, 305988, 305989, 305990, 305991, 305992, 305993, 305994, 305995, 305996, 305997, 305998, 305999, 306000, 306001, 306002, 306003, 306004, 306005, 306006, 306007, 306008, 306009, 306010, 306011, 306012, 306013, 306014, 306015, 306016, 306017, 306018, 306019, 306020, 306021, 306022, 306023, 306024, 306025, 306026, 306027, 306028, 306029, 306030, 306031, 306032, 306033, 306034, 306035, 306036, 306037, 306038, 306039, 306040, 306041, 306042, 306043, 306044, 306045, 306046, 306047, 306048, 306049, 306050, 306051, 306052, 306053, 306054, 306055, 306056, 306057, 306058, 306059, 306060, 306061, 306062, 306063, 306064, 306065, 306066, 306067, 306068, 306069, 306070, 306071, 306072, 306073, 306074, 306075, 306076, 306077, 306078, 306079, 306080, 306081, 306082, 306083, 306084, 306085, 306086, 306087, 306088, 306089, 306090, 306091, 306092, 306093, 306094, 306095, 306096, 306097, 306098, 306099, 306100, 306101, 306102, 306103, 306104, 306105, 306106, 306107, 306108, 306109, 306110, 306111, 306112, 306113, 306114, 306115, 306116, 306117, 306118, 306119, 306120, 306121, 306122, 306123, 306124, 306125, 306126, 306127, 306128, 306129, 306130, 306131, 306132, 306133, 306134, 306135, 306136, 306137, 306138, 306139, 306140, 306141, 306142, 306143, 306144, 306145, 306146, 306147, 306148, 306149, 306150, 306151, 306152, 306153, 306154, 306155, 306156, 306157, 306158, 306159, 306160, 306161, 306162, 306163, 306164, 306165, 306166, 306167, 306168, 306169, 306170, 306171, 306172, 306173, 306174, 306175, 306176, 306177, 306178, 306179, 306180, 306181, 306182, 306183, 306184, 306185, 306186, 306187, 306188, 306189, 306190, 306191, 306192, 306193, 306194, 306195, 306196, 306197, 306198, 306199, 306200, 306201, 306202, 306203, 306204, 306205, 306206, 306207, 306208, 306209, 306210, 306211, 306212, 306213, 306214, 306215, 306216, 306217, 306218, 306219, 306220, 306221, 306222, 306223, 306224, 306225, 306226, 306227, 306228, 306229, 306230, 306231, 306232, 306233, 306234, 306235, 306236, 306237, 306238, 306239, 306240, 306241, 306242, 306243, 306244, 306245, 306246, 306247, 306248, 306249, 306250, 306251, 306252, 306253, 306254, 306255, 306256, 306257, 306258, 306259, 306260, 306261, 306262, 306263, 306264, 306265, 306266, 306267, 306268, 306269, 306270, 306271, 306272, 306273, 306274, 306275, 306276, 306277, 306278, 306279, 306280, 306281, 306282, 306283, 306284, 306285, 306286, 306287, 306288, 306289, 306290, 306291, 306292, 306293, 306294, 306295, 306296, 306297, 306298, 306299, 306300, 306301, 306302, 306303, 306304, 306305, 306306, 306307, 306308, 306309, 306310, 306311, 306312, 306313, 306314, 306315, 306316, 306317, 306318, 306319, 306320, 306321, 306322, 306323, 306324, 306325, 306326, 306327, 306328, 306329, 306330, 306331, 306332, 306333, 306334, 306335, 306336, 306337, 306338, 306339, 306340, 306341, 306342, 306343, 306344, 306345, 306346, 306347, 306348, 306349, 306350, 306351, 306352, 306353, 306354, 306355, 306356, 306357, 306358, 306359, 306360, 306361, 306362, 306363, 306364, 306365, 306366, 173529, 173531, 173532, 173533, 173534, 173535, 173536, 173537, 173538, 173539, 173540, 173541, 173542, 173543, 173544, 173545, 173546, 173547, 173548, 173549, 173550, 173551, 173552, 173553, 173554, 173555, 173556, 173557, 173558, 173559, 173560, 173561, 173562, 173563, 173564, 173567, 173568, 173569, 173570, 173571, 173572, 173573, 173574, 173575, 173576, 173577, 173578, 173579, 173580, 173581, 173582, 173583, 173584, 173585, 173586, 173587, 173588, 173589, 173590, 173591, 173593, 173594, 173595, 173596, 175617, 175645, 175648, 175664, 175719, 175864, 175873, 176090, 176282, 176957, 176973, 177092, 177100, 177482, 177542, 178016, 178914, 179238, 179464, 179733, 179771, 179816, 179982, 180012, 180043, 216418, 216421, 216429, 216430, 216530, 216531, 216532, 216602, 216603, 216612, 216614, 216615, 216616, 216617, 216620, 216621, 294323, 294324, 294325, 294326, 294327, 294328, 294329, 294330, 294331, 294332, 294333, 294334, 294335, 294336, 294337, 294338, 294339, 294340, 294341, 294342, 294343, 294344, 294345, 294346, 294347, 294348, 294349, 294350, 294351, 294352, 294353, 294354, 294355, 294356, 294357, 294358, 294359, 294360, 294361, 294362, 294363, 294364, 294365, 294366, 294367, 294368, 294369, 294370, 294371, 294372, 294373, 294374, 294375, 294376, 294377, 294378, 294379, 294380, 294381, 294382, 294383, 294384, 294385, 294386, 294387, 294388, 294389, 294390, 294391, 294392, 294393, 294394, 294395, 294396, 294397, 294398, 294399, 294400, 294401, 294402, 294403, 294404, 294405, 294406, 294407, 294408, 294409, 294410, 294411, 294412, 294413, 294414, 294415, 294416, 294417, 294418, 294419, 294420, 294421, 294422, 294423, 294424, 294425, 294426, 294427, 294428, 294429, 294430, 294431, 294432, 294433, 294434, 294435, 294436, 294437, 294438, 294439, 294440, 294441, 294442, 294443, 294444, 294445, 294446, 294447, 294448, 294449, 294450, 294451, 294452, 294453, 294454, 294455, 294456, 294457, 294458, 294459, 294460, 294461, 294462, 294463, 294464, 294465, 294466, 294467, 294468, 294469, 294470, 294471, 294472, 294473, 294474, 294475, 294476, 294477, 294478, 294479, 294480, 294481, 294482, 294483, 294484, 294485, 294486, 294487, 294488, 294489, 294490, 294491, 294492, 294493, 294494, 294495, 294496, 294497, 294498, 294499, 294500, 294501, 294502, 294503, 294504, 294505, 294506, 294507, 294508, 294509, 294510, 294511, 294512, 294513, 294514, 294515, 294516, 294517, 294518, 294519, 294520, 294521, 294522, 294523, 294524, 294525, 294526, 294527, 294528, 294529, 294530, 294531, 294532, 294533, 294534, 294535, 294536, 294537, 294538, 294539, 294540, 294541, 294542, 294543, 294544, 294545, 294546, 294547, 294548, 294549, 294550, 294551, 294552, 294553, 294554, 294555, 294556, 294557, 294558, 294559, 294560, 294561, 294562, 294563, 294564, 294565, 294566, 294567, 294568, 294569, 294570, 294571, 294572, 294573, 294574, 294575, 294576, 294577, 294578, 294579, 294580, 294581, 294582, 294583, 294584, 294585, 294586, 294587, 294588, 294589, 294590, 294591, 294592, 294593, 294594, 294595, 294596, 294597, 294598, 294599, 294600, 294601, 294602, 294603, 294604, 294605, 294606, 294607, 294608, 294609, 294610, 294611, 294612, 315929, 391531, 173709, 173710, 173711, 173712, 173713, 173714, 173715, 173716, 173717, 173718, 173719, 173720, 173721, 173722, 173723, 173724, 173725, 173726, 173727, 173728, 173729, 173730, 173731, 173732, 173733, 173734, 173735, 173736, 173737, 173738, 173739, 173740, 173741, 173742, 173743, 173744, 173745, 173746, 173747, 173748, 173749, 173750, 173751, 173752, 173753, 175530, 175571, 175686, 175720, 175741, 175743, 175865, 175866, 175867, 175869, 175918, 176040, 176048, 176055, 176064, 176074, 176075, 176137, 176154, 176170, 176193, 176211, 176234, 176235, 176250, 176257, 176462, 176671, 176678, 176701, 176991, 177006, 177007, 177008, 177140, 177604, 177668, 177710, 177727, 177747, 177748, 177825, 177826, 177840, 177880, 178094, 178114, 178706, 178752, 178754, 178846, 178866, 178873, 178887, 178978, 179006, 179036, 179188, 179215, 179373, 179432, 179450, 179576, 179998, 180016, 180017, 216505, 216611, 216624, 216696, 216702)) AND (t_d.attribute_id IN ('96', '109')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_text` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173480, 173481, 173482, 173483, 173484, 173485, 173486, 173487, 173488, 173489, 173490, 173491, 173492, 173493, 173494, 173495, 173496, 173497, 173498, 173499, 173500, 173501, 173502, 173503, 173504, 173505, 173506, 173507, 173508, 173509, 173510, 173511, 173512, 173513, 173514, 173515, 173516, 173517, 173518, 173519, 173520, 173521, 173522, 173523, 173524, 173525, 173526, 173527, 173528, 173530, 173592, 173597, 179842, 179848, 179927, 173435, 173436, 173437, 173438, 173439, 173440, 173441, 173442, 173443, 173444, 173445, 173446, 173447, 173448, 173449, 173450, 173451, 173452, 173453, 173454, 173455, 173456, 173457, 173458, 173459, 173460, 173461, 173462, 173463, 173464, 173465, 173466, 173467, 173468, 173469, 173470, 173471, 173472, 173473, 173474, 173475, 173476, 173478, 173479, 175462, 175474, 175484, 175488, 175489, 175493, 175497, 175506, 175509, 175510, 175513, 175518, 175522, 175523, 175544, 175564, 175589, 175636, 175661, 175662, 175691, 175694, 175697, 175798, 175799, 175801, 175803, 175805, 175818, 175819, 175834, 175835, 175839, 175840, 175842, 175846, 175849, 175939, 175945, 175947, 175975, 175992, 175993, 176005, 176018, 176060, 176061, 176382, 176481, 176541, 176581, 176588, 176601, 176604, 176612, 176617, 176676, 176713, 176723, 176745, 176746, 176794, 176807, 176813, 176819, 176830, 176899, 176925, 176940, 176941, 176945, 176947, 176968, 176969, 177050, 177105, 177106, 177111, 177125, 177128, 177129, 177142, 177145, 177188, 177189, 177348, 177386, 177387, 177396, 177397, 177434, 177435, 177441, 177443, 177462, 177469, 177474, 177480, 177491, 177494, 177500, 177501, 177531, 177532, 177540, 177541, 177543, 177549, 177565, 177580, 177591, 177595, 177600, 177601, 177630, 177637, 177653, 177682, 177696, 177697, 177700, 177723, 177724, 177725, 177732, 177734, 177750, 177772, 177773, 177786, 177795, 177813, 177814, 177817, 177818, 177819, 177836, 177837, 177856, 177858, 177860, 177907, 177947, 177970, 177984, 178056, 178092, 178149, 178182, 178187, 178196, 178207, 178224, 178227, 178305, 178313, 178314, 178357, 178358, 178379, 178380, 178385, 178397, 178416, 178447, 178466, 178549, 178581, 178617, 178716, 178719, 178720, 178733, 178734, 178831, 178832, 178838, 178841, 178876, 178885, 178886, 178901, 178918, 178959, 178976, 179009, 179012, 179098, 179100, 179104, 179105, 179108, 179134, 179136, 179248, 179253, 179264, 179266, 179332, 179333, 179364, 179365, 179375, 179376, 179428, 179429, 179480, 179481, 179482, 179483, 179485, 179494, 179499, 179560, 179561, 179563, 179564, 179568, 179569, 179570, 179615, 179616, 179725, 179813, 179818, 179819, 179824, 179829, 179862, 179863, 179867, 179871, 179877, 179879, 179890, 179929, 179972, 179980, 179981, 179989, 179990, 179991, 179992, 179993, 180015, 180031, 216369, 216385, 216390, 216398, 216411, 216431, 216433, 216466, 216467, 216470, 216471, 216476, 216482, 216483, 216485, 216489, 216490, 216494, 216498, 216504, 216506, 216512, 216519, 216529, 216543, 216553, 216559, 216560, 216561, 216574, 216577, 216583, 216590, 216591, 216595, 216596, 216597, 216598, 216599, 216600, 216604, 216607, 216608, 216609, 216613, 216618, 216619, 216622, 216623, 216625, 216626, 216629, 216697, 304407, 304408, 304409, 304410, 304411, 304412, 304413, 304414, 304415, 304416, 304417, 304418, 304419, 304420, 304421, 304422, 304423, 304424, 304425, 304426, 304427, 304428, 304429, 304430, 304431, 304432, 304433, 304434, 304435, 304436, 304437, 304438, 304439, 304440, 304441, 304442, 304443, 304444, 304445, 304446, 304447, 304448, 304449, 304450, 304451, 304452, 304453, 304454, 304455, 304456, 304457, 304458, 304459, 304460, 304461, 304462, 304463, 304464, 304465, 304466, 304467, 304468, 304469, 304470, 304471, 304472, 304473, 304474, 304475, 304476, 304477, 304478, 304479, 304480, 304481, 304482, 304483, 304484, 304485, 304486, 304487, 304488, 304489, 304490, 304491, 304492, 304493, 304494, 304495, 304496, 304497, 304498, 304499, 304500, 304501, 304502, 304503, 304504, 304505, 304506, 304507, 304508, 304509, 304510, 304511, 304512, 304513, 304514, 304515, 304516, 304517, 304518, 304519, 304520, 304521, 304522, 304523, 304524, 304525, 304526, 304527, 304528, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304541, 304542, 304543, 304544, 304545, 304546, 304547, 304548, 304549, 304550, 304551, 304552, 304553, 304554, 304555, 304556, 304557, 304558, 304559, 304560, 304561, 304562, 304563, 304564, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304572, 304573, 304574, 304575, 304576, 304577, 304578, 304579, 304580, 304581, 304582, 304583, 304584, 304585, 304586, 304587, 304588, 304589, 304590, 304591, 304592, 304593, 304594, 304595, 304596, 304597, 304598, 304599, 304600, 304601, 304602, 304603, 304604, 304605, 304606, 304607, 304608, 304609, 304610, 304611, 304612, 304613, 304614, 304615, 304616, 304617, 304618, 304619, 304620, 304621, 304622, 304623, 304624, 304625, 304626, 304627, 304628, 304629, 304630, 304631, 304632, 304633, 304634, 304635, 304636, 304637, 304638, 304639, 304640, 304641, 304642, 304643, 304644, 304645, 304646, 304647, 304648, 304649, 304650, 304651, 304652, 304653, 304654, 304655, 304656, 304657, 304658, 304659, 304660, 304661, 304662, 304663, 304664, 304665, 304666, 304667, 304668, 304669, 304670, 304671, 304672, 304673, 304674, 304675, 304676, 304677, 304678, 304679, 304680, 304681, 304682, 304683, 304684, 304685, 304686, 304687, 304688, 304689, 304690, 304691, 304692, 304693, 304694, 304695, 304696, 304697, 304698, 304699, 304700, 304701, 304702, 304703, 304704, 304705, 304706, 304707, 304708, 304709, 304710, 304711, 304712, 304713, 304714, 304715, 304716, 304717, 304718, 304719, 304720, 304721, 304722, 304723, 304724, 304725, 304726, 304727, 304728, 304729, 304730, 304731, 304732, 304733, 304734, 304735, 304736, 304737, 304738, 304739, 304740, 304741, 304742, 304743, 304744, 304745, 304746, 304747, 304748, 304749, 304750, 304751, 304752, 304753, 304754, 304755, 304756, 304757, 304758, 304759, 304760, 304761, 304762, 304763, 304764, 304765, 304766, 304767, 304768, 304769, 304770, 304771, 304772, 304773, 304774, 304775, 304776, 304777, 304778, 304779, 304780, 304781, 304782, 304783, 304784, 304785, 304786, 304787, 304788, 304789, 304790, 304791, 304792, 304793, 304794, 304795, 304796, 304797, 304798, 304799, 304800, 304801, 304802, 304803, 304804, 304805, 304806, 304807, 304808, 304809, 304810, 304811, 304812, 304813, 304814, 304815, 304816, 304817, 304818, 304819, 304820, 304821, 304822, 304823, 304824, 304825, 304826, 304827, 304828, 304829, 304830, 304831, 304832, 304833, 304834, 304835, 304836, 304837, 304838, 304839, 304840, 304841, 304842, 304843, 304844, 304845, 304846, 304847, 304848, 304849, 304850, 304851, 304852, 304853, 304854, 304855, 304856, 304857, 304858, 304859, 304860, 304861, 304862, 304863, 304864, 304865, 304866, 304867, 304868, 304869, 304870, 304871, 304872, 304873, 304874, 304875, 304876, 304877, 304878, 304879, 304880, 304881, 304882, 304883, 304884, 304885, 304886, 304887, 304888, 304889, 304890, 304891, 304892, 304893, 304894, 304895, 304896, 304897, 304898, 304899, 304900, 304901, 304902, 304903, 304904, 304905, 304906, 304907, 304908, 304909, 304910, 304911, 304912, 304913, 304914, 304915, 304916, 304917, 304918, 304919, 304920, 304921, 304922, 304923, 304924, 304925, 304926, 304927, 304928, 304929, 304930, 304931, 304932, 304933, 304934, 304935, 304936, 304937, 304938, 304939, 304940, 304941, 304942, 304943, 304944, 304945, 304946, 304947, 304948, 304949, 304950, 304951, 304952, 304953, 304954, 304955, 304956, 304957, 304958, 304959, 304960, 304961, 304962, 304963, 304964, 304965, 304966, 304967, 304968, 304969, 304970, 304971, 304972, 304973, 304974, 304975, 304976, 304977, 304978, 304979, 304980, 304981, 304982, 304983, 304984, 304985, 304986, 304987, 304988, 304989, 304990, 304991, 304992, 304993, 304994, 304995, 304996, 304997, 304998, 304999, 305000, 305001, 305002, 305003, 305004, 305005, 305006, 305007, 305008, 305009, 305010, 305011, 305012, 305013, 305014, 305015, 305016, 305017, 305018, 305019, 305020, 305021, 305022, 305023, 305024, 305025, 305026, 305027, 305028, 305029, 305030, 305031, 305032, 305033, 305034, 305035, 305036, 305037, 305038, 305039, 305040, 305041, 305042, 305043, 305044, 305045, 305046, 305047, 305048, 305049, 305050, 305051, 305052, 305053, 305054, 305055, 305056, 305057, 305058, 305059, 305060, 305061, 305062, 305063, 305064, 305065, 305066, 305067, 305068, 305069, 305070, 305071, 305072, 305073, 305074, 305075, 305076, 305077, 305078, 305079, 305080, 305081, 305082, 305083, 305084, 305085, 305086, 305087, 305088, 305089, 305090, 305091, 305092, 305093, 305094, 305095, 305096, 305097, 305098, 305099, 305100, 305101, 305102, 305103, 305104, 305105, 305106, 305107, 305108, 305109, 305110, 305111, 305112, 305113, 305114, 305115, 305116, 305117, 305118, 305119, 305120, 305121, 305122, 305123, 305124, 305125, 305126, 305127, 305128, 305129, 305130, 305131, 305132, 305133, 305134, 305135, 305136, 305137, 305138, 305139, 305140, 305141, 305142, 305143, 305144, 305145, 305146, 305147, 305148, 305149, 305150, 305151, 305152, 305153, 305154, 305155, 305156, 305157, 305158, 305159, 305160, 305161, 305162, 305163, 305164, 305165, 305166, 305167, 305168, 305169, 305170, 305171, 305172, 305173, 305174, 305175, 305176, 305177, 305178, 305179, 305180, 305181, 305182, 305183, 305184, 305185, 305186, 305187, 305188, 305189, 305190, 305191, 305192, 305193, 305194, 305195, 305196, 305197, 305198, 305199, 305200, 305201, 305202, 305203, 305204, 305205, 305206, 305207, 305208, 305209, 305210, 305211, 305212, 305213, 305214, 305215, 305216, 305217, 305218, 305219, 305220, 305221, 305222, 305223, 305224, 305225, 305226, 305227, 305228, 305229, 305230, 305231, 305232, 305233, 305234, 305235, 305236, 305237, 305238, 305239, 305240, 305241, 305242, 305243, 305244, 305245, 305246, 305247, 305248, 305249, 305250, 305251, 305252, 305253, 305254, 305255, 305256, 305257, 305258, 305259, 305260, 305261, 305262, 305263, 305264, 305265, 305266, 305267, 305268, 305269, 305270, 305271, 305272, 305273, 305274, 305275, 305276, 305277, 305278, 305279, 305280, 305281, 305282, 305283, 305284, 305285, 305286, 305287, 305288, 305289, 305290, 305291, 305292, 305293, 305294, 305295, 305296, 305297, 305298, 305299, 305300, 305301, 305302, 305303, 305304, 305305, 305306, 305307, 305308, 305309, 305310, 305311, 305312, 305313, 305314, 305315, 305316, 305317, 305318, 305319, 305320, 305321, 305322, 305323, 305324, 305325, 305326, 305327, 305328, 305329, 305330, 305331, 305332, 305333, 305334, 305335, 305336, 305337, 305338, 305339, 305340, 305341, 305342, 305343, 305344, 305345, 305346, 305347, 305348, 305349, 305350, 305351, 305352, 305353, 305354, 305355, 305356, 305357, 305358, 305359, 305360, 305361, 305362, 305363, 305364, 305365, 305366, 305367, 305368, 305369, 305370, 305371, 305372, 305373, 305374, 305375, 305376, 305377, 305378, 305379, 305380, 305381, 305382, 305383, 305384, 305385, 305386, 305387, 305388, 305389, 305390, 305391, 305392, 305393, 305394, 305395, 305396, 305397, 305398, 305399, 305400, 305401, 305402, 305403, 305404, 305405, 305406, 305407, 305408, 305409, 305410, 305411, 305412, 305413, 305414, 305415, 305416, 305417, 305418, 305419, 305420, 305421, 305422, 305423, 305424, 305425, 305426, 305427, 305428, 305429, 305430, 305431, 305432, 305433, 305434, 305435, 305436, 305437, 305438, 305439, 305440, 305441, 305442, 305443, 305444, 305445, 305446, 305447, 305448, 305449, 305450, 305451, 305452, 305453, 305454, 305455, 305456, 305457, 305458, 305459, 305460, 305461, 305462, 305463, 305464, 305465, 305466, 305467, 305468, 305469, 305470, 305471, 305472, 305473, 305474, 305475, 305476, 305477, 305478, 305479, 305480, 305481, 305482, 305483, 305484, 305485, 305486, 305487, 305488, 305489, 305490, 305491, 305492, 305493, 305494, 305495, 305496, 305497, 305498, 305499, 305500, 305501, 305502, 305503, 305504, 305505, 305506, 305507, 305508, 305509, 305510, 305511, 305512, 305513, 305514, 305515, 305516, 305517, 305518, 305519, 305520, 305521, 305522, 305523, 305524, 305525, 305526, 305527, 305528, 305529, 305530, 305531, 305532, 305533, 305534, 305535, 305536, 305537, 305538, 305539, 305540, 305541, 305542, 305543, 305544, 305545, 305546, 305547, 305548, 305549, 305550, 305551, 305552, 305553, 305554, 305555, 305556, 305557, 305558, 305559, 305560, 305561, 305562, 305563, 305564, 305565, 305566, 305567, 305568, 305569, 305570, 305571, 305572, 305573, 305574, 305575, 305576, 305577, 305578, 305579, 305580, 305581, 305582, 305583, 305584, 305585, 305586, 305587, 305588, 305589, 305590, 305591, 305592, 305593, 305594, 305595, 305596, 305597, 305598, 305599, 305600, 305601, 305602, 305603, 305604, 305605, 305606, 305607, 305608, 305609, 305610, 305611, 305612, 305613, 305614, 305615, 305616, 305617, 305618, 305619, 305620, 305621, 305622, 305623, 305624, 305625, 305626, 305627, 305628, 305629, 305630, 305631, 305632, 305633, 305634, 305635, 305636, 305637, 305638, 305639, 305640, 305641, 305642, 305643, 305644, 305645, 305646, 305647, 305648, 305649, 305650, 305651, 305652, 305653, 305654, 305655, 305656, 305657, 305658, 305659, 305660, 305661, 305662, 305663, 305664, 305665, 305666, 305667, 305668, 305669, 305670, 305671, 305672, 305673, 305674, 305675, 305676, 305677, 305678, 305679, 305680, 305681, 305682, 305683, 305684, 305685, 305686, 305687, 305688, 305689, 305690, 305691, 305692, 305693, 305694, 305695, 305696, 305697, 305698, 305699, 305700, 305701, 305702, 305703, 305704, 305705, 305706, 305707, 305708, 305709, 305710, 305711, 305712, 305713, 305714, 305715, 305716, 305717, 305718, 305719, 305720, 305721, 305722, 305723, 305724, 305725, 305726, 305727, 305728, 305729, 305730, 305731, 305732, 305733, 305734, 305735, 305736, 305737, 305738, 305739, 305740, 305741, 305742, 305743, 305744, 305745, 305746, 305747, 305748, 305749, 305750, 305751, 305752, 305753, 305754, 305755, 305756, 305757, 305758, 305759, 305760, 305761, 305762, 305763, 305764, 305765, 305766, 305767, 305768, 305769, 305770, 305771, 305772, 305773, 305774, 305775, 305776, 305777, 305778, 305779, 305780, 305781, 305782, 305783, 305784, 305785, 305786, 305787, 305788, 305789, 305790, 305791, 305792, 305793, 305794, 305795, 305796, 305797, 305798, 305799, 305800, 305801, 305802, 305803, 305804, 305805, 305806, 305807, 305808, 305809, 305810, 305811, 305812, 305813, 305814, 305815, 305816, 305817, 305818, 305819, 305820, 305821, 305822, 305823, 305824, 305825, 305826, 305827, 305828, 305829, 305830, 305831, 305832, 305833, 305834, 305835, 305836, 305837, 305838, 305839, 305840, 305841, 305842, 305843, 305844, 305845, 305846, 305847, 305848, 305849, 305850, 305851, 305852, 305853, 305854, 305855, 305856, 305857, 305858, 305859, 305860, 305861, 305862, 305863, 305864, 305865, 305866, 305867, 305868, 305869, 305870, 305871, 305872, 305873, 305874, 305875, 305876, 305877, 305878, 305879, 305880, 305881, 305882, 305883, 305884, 305885, 305886, 305887, 305888, 305889, 305890, 305891, 305892, 305893, 305894, 305895, 305896, 305897, 305898, 305899, 305900, 305901, 305902, 305903, 305904, 305905, 305906, 305907, 305908, 305909, 305910, 305911, 305912, 305913, 305914, 305915, 305916, 305917, 305918, 305919, 305920, 305921, 305922, 305923, 305924, 305925, 305926, 305927, 305928, 305929, 305930, 305931, 305932, 305933, 305934, 305935, 305936, 305937, 305938, 305939, 305940, 305941, 305942, 305943, 305944, 305945, 305946, 305947, 305948, 305949, 305950, 305951, 305952, 305953, 305954, 305955, 305956, 305957, 305958, 305959, 305960, 305961, 305962, 305963, 305964, 305965, 305966, 305967, 305968, 305969, 305970, 305971, 305972, 305973, 305974, 305975, 305976, 305977, 305978, 305979, 305980, 305981, 305982, 305983, 305984, 305985, 305986, 305987, 305988, 305989, 305990, 305991, 305992, 305993, 305994, 305995, 305996, 305997, 305998, 305999, 306000, 306001, 306002, 306003, 306004, 306005, 306006, 306007, 306008, 306009, 306010, 306011, 306012, 306013, 306014, 306015, 306016, 306017, 306018, 306019, 306020, 306021, 306022, 306023, 306024, 306025, 306026, 306027, 306028, 306029, 306030, 306031, 306032, 306033, 306034, 306035, 306036, 306037, 306038, 306039, 306040, 306041, 306042, 306043, 306044, 306045, 306046, 306047, 306048, 306049, 306050, 306051, 306052, 306053, 306054, 306055, 306056, 306057, 306058, 306059, 306060, 306061, 306062, 306063, 306064, 306065, 306066, 306067, 306068, 306069, 306070, 306071, 306072, 306073, 306074, 306075, 306076, 306077, 306078, 306079, 306080, 306081, 306082, 306083, 306084, 306085, 306086, 306087, 306088, 306089, 306090, 306091, 306092, 306093, 306094, 306095, 306096, 306097, 306098, 306099, 306100, 306101, 306102, 306103, 306104, 306105, 306106, 306107, 306108, 306109, 306110, 306111, 306112, 306113, 306114, 306115, 306116, 306117, 306118, 306119, 306120, 306121, 306122, 306123, 306124, 306125, 306126, 306127, 306128, 306129, 306130, 306131, 306132, 306133, 306134, 306135, 306136, 306137, 306138, 306139, 306140, 306141, 306142, 306143, 306144, 306145, 306146, 306147, 306148, 306149, 306150, 306151, 306152, 306153, 306154, 306155, 306156, 306157, 306158, 306159, 306160, 306161, 306162, 306163, 306164, 306165, 306166, 306167, 306168, 306169, 306170, 306171, 306172, 306173, 306174, 306175, 306176, 306177, 306178, 306179, 306180, 306181, 306182, 306183, 306184, 306185, 306186, 306187, 306188, 306189, 306190, 306191, 306192, 306193, 306194, 306195, 306196, 306197, 306198, 306199, 306200, 306201, 306202, 306203, 306204, 306205, 306206, 306207, 306208, 306209, 306210, 306211, 306212, 306213, 306214, 306215, 306216, 306217, 306218, 306219, 306220, 306221, 306222, 306223, 306224, 306225, 306226, 306227, 306228, 306229, 306230, 306231, 306232, 306233, 306234, 306235, 306236, 306237, 306238, 306239, 306240, 306241, 306242, 306243, 306244, 306245, 306246, 306247, 306248, 306249, 306250, 306251, 306252, 306253, 306254, 306255, 306256, 306257, 306258, 306259, 306260, 306261, 306262, 306263, 306264, 306265, 306266, 306267, 306268, 306269, 306270, 306271, 306272, 306273, 306274, 306275, 306276, 306277, 306278, 306279, 306280, 306281, 306282, 306283, 306284, 306285, 306286, 306287, 306288, 306289, 306290, 306291, 306292, 306293, 306294, 306295, 306296, 306297, 306298, 306299, 306300, 306301, 306302, 306303, 306304, 306305, 306306, 306307, 306308, 306309, 306310, 306311, 306312, 306313, 306314, 306315, 306316, 306317, 306318, 306319, 306320, 306321, 306322, 306323, 306324, 306325, 306326, 306327, 306328, 306329, 306330, 306331, 306332, 306333, 306334, 306335, 306336, 306337, 306338, 306339, 306340, 306341, 306342, 306343, 306344, 306345, 306346, 306347, 306348, 306349, 306350, 306351, 306352, 306353, 306354, 306355, 306356, 306357, 306358, 306359, 306360, 306361, 306362, 306363, 306364, 306365, 306366, 173529, 173531, 173532, 173533, 173534, 173535, 173536, 173537, 173538, 173539, 173540, 173541, 173542, 173543, 173544, 173545, 173546, 173547, 173548, 173549, 173550, 173551, 173552, 173553, 173554, 173555, 173556, 173557, 173558, 173559, 173560, 173561, 173562, 173563, 173564, 173567, 173568, 173569, 173570, 173571, 173572, 173573, 173574, 173575, 173576, 173577, 173578, 173579, 173580, 173581, 173582, 173583, 173584, 173585, 173586, 173587, 173588, 173589, 173590, 173591, 173593, 173594, 173595, 173596, 175617, 175645, 175648, 175664, 175719, 175864, 175873, 176090, 176282, 176957, 176973, 177092, 177100, 177482, 177542, 178016, 178914, 179238, 179464, 179733, 179771, 179816, 179982, 180012, 180043, 216418, 216421, 216429, 216430, 216530, 216531, 216532, 216602, 216603, 216612, 216614, 216615, 216616, 216617, 216620, 216621, 294323, 294324, 294325, 294326, 294327, 294328, 294329, 294330, 294331, 294332, 294333, 294334, 294335, 294336, 294337, 294338, 294339, 294340, 294341, 294342, 294343, 294344, 294345, 294346, 294347, 294348, 294349, 294350, 294351, 294352, 294353, 294354, 294355, 294356, 294357, 294358, 294359, 294360, 294361, 294362, 294363, 294364, 294365, 294366, 294367, 294368, 294369, 294370, 294371, 294372, 294373, 294374, 294375, 294376, 294377, 294378, 294379, 294380, 294381, 294382, 294383, 294384, 294385, 294386, 294387, 294388, 294389, 294390, 294391, 294392, 294393, 294394, 294395, 294396, 294397, 294398, 294399, 294400, 294401, 294402, 294403, 294404, 294405, 294406, 294407, 294408, 294409, 294410, 294411, 294412, 294413, 294414, 294415, 294416, 294417, 294418, 294419, 294420, 294421, 294422, 294423, 294424, 294425, 294426, 294427, 294428, 294429, 294430, 294431, 294432, 294433, 294434, 294435, 294436, 294437, 294438, 294439, 294440, 294441, 294442, 294443, 294444, 294445, 294446, 294447, 294448, 294449, 294450, 294451, 294452, 294453, 294454, 294455, 294456, 294457, 294458, 294459, 294460, 294461, 294462, 294463, 294464, 294465, 294466, 294467, 294468, 294469, 294470, 294471, 294472, 294473, 294474, 294475, 294476, 294477, 294478, 294479, 294480, 294481, 294482, 294483, 294484, 294485, 294486, 294487, 294488, 294489, 294490, 294491, 294492, 294493, 294494, 294495, 294496, 294497, 294498, 294499, 294500, 294501, 294502, 294503, 294504, 294505, 294506, 294507, 294508, 294509, 294510, 294511, 294512, 294513, 294514, 294515, 294516, 294517, 294518, 294519, 294520, 294521, 294522, 294523, 294524, 294525, 294526, 294527, 294528, 294529, 294530, 294531, 294532, 294533, 294534, 294535, 294536, 294537, 294538, 294539, 294540, 294541, 294542, 294543, 294544, 294545, 294546, 294547, 294548, 294549, 294550, 294551, 294552, 294553, 294554, 294555, 294556, 294557, 294558, 294559, 294560, 294561, 294562, 294563, 294564, 294565, 294566, 294567, 294568, 294569, 294570, 294571, 294572, 294573, 294574, 294575, 294576, 294577, 294578, 294579, 294580, 294581, 294582, 294583, 294584, 294585, 294586, 294587, 294588, 294589, 294590, 294591, 294592, 294593, 294594, 294595, 294596, 294597, 294598, 294599, 294600, 294601, 294602, 294603, 294604, 294605, 294606, 294607, 294608, 294609, 294610, 294611, 294612, 315929, 391531, 173709, 173710, 173711, 173712, 173713, 173714, 173715, 173716, 173717, 173718, 173719, 173720, 173721, 173722, 173723, 173724, 173725, 173726, 173727, 173728, 173729, 173730, 173731, 173732, 173733, 173734, 173735, 173736, 173737, 173738, 173739, 173740, 173741, 173742, 173743, 173744, 173745, 173746, 173747, 173748, 173749, 173750, 173751, 173752, 173753, 175530, 175571, 175686, 175720, 175741, 175743, 175865, 175866, 175867, 175869, 175918, 176040, 176048, 176055, 176064, 176074, 176075, 176137, 176154, 176170, 176193, 176211, 176234, 176235, 176250, 176257, 176462, 176671, 176678, 176701, 176991, 177006, 177007, 177008, 177140, 177604, 177668, 177710, 177727, 177747, 177748, 177825, 177826, 177840, 177880, 178094, 178114, 178706, 178752, 178754, 178846, 178866, 178873, 178887, 178978, 179006, 179036, 179188, 179215, 179373, 179432, 179450, 179576, 179998, 180016, 180017, 216505, 216611, 216624, 216696, 216702)) AND (t_d.attribute_id IN ('506')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_int` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (173480, 173481, 173482, 173483, 173484, 173485, 173486, 173487, 173488, 173489, 173490, 173491, 173492, 173493, 173494, 173495, 173496, 173497, 173498, 173499, 173500, 173501, 173502, 173503, 173504, 173505, 173506, 173507, 173508, 173509, 173510, 173511, 173512, 173513, 173514, 173515, 173516, 173517, 173518, 173519, 173520, 173521, 173522, 173523, 173524, 173525, 173526, 173527, 173528, 173530, 173592, 173597, 179842, 179848, 179927, 173435, 173436, 173437, 173438, 173439, 173440, 173441, 173442, 173443, 173444, 173445, 173446, 173447, 173448, 173449, 173450, 173451, 173452, 173453, 173454, 173455, 173456, 173457, 173458, 173459, 173460, 173461, 173462, 173463, 173464, 173465, 173466, 173467, 173468, 173469, 173470, 173471, 173472, 173473, 173474, 173475, 173476, 173478, 173479, 175462, 175474, 175484, 175488, 175489, 175493, 175497, 175506, 175509, 175510, 175513, 175518, 175522, 175523, 175544, 175564, 175589, 175636, 175661, 175662, 175691, 175694, 175697, 175798, 175799, 175801, 175803, 175805, 175818, 175819, 175834, 175835, 175839, 175840, 175842, 175846, 175849, 175939, 175945, 175947, 175975, 175992, 175993, 176005, 176018, 176060, 176061, 176382, 176481, 176541, 176581, 176588, 176601, 176604, 176612, 176617, 176676, 176713, 176723, 176745, 176746, 176794, 176807, 176813, 176819, 176830, 176899, 176925, 176940, 176941, 176945, 176947, 176968, 176969, 177050, 177105, 177106, 177111, 177125, 177128, 177129, 177142, 177145, 177188, 177189, 177348, 177386, 177387, 177396, 177397, 177434, 177435, 177441, 177443, 177462, 177469, 177474, 177480, 177491, 177494, 177500, 177501, 177531, 177532, 177540, 177541, 177543, 177549, 177565, 177580, 177591, 177595, 177600, 177601, 177630, 177637, 177653, 177682, 177696, 177697, 177700, 177723, 177724, 177725, 177732, 177734, 177750, 177772, 177773, 177786, 177795, 177813, 177814, 177817, 177818, 177819, 177836, 177837, 177856, 177858, 177860, 177907, 177947, 177970, 177984, 178056, 178092, 178149, 178182, 178187, 178196, 178207, 178224, 178227, 178305, 178313, 178314, 178357, 178358, 178379, 178380, 178385, 178397, 178416, 178447, 178466, 178549, 178581, 178617, 178716, 178719, 178720, 178733, 178734, 178831, 178832, 178838, 178841, 178876, 178885, 178886, 178901, 178918, 178959, 178976, 179009, 179012, 179098, 179100, 179104, 179105, 179108, 179134, 179136, 179248, 179253, 179264, 179266, 179332, 179333, 179364, 179365, 179375, 179376, 179428, 179429, 179480, 179481, 179482, 179483, 179485, 179494, 179499, 179560, 179561, 179563, 179564, 179568, 179569, 179570, 179615, 179616, 179725, 179813, 179818, 179819, 179824, 179829, 179862, 179863, 179867, 179871, 179877, 179879, 179890, 179929, 179972, 179980, 179981, 179989, 179990, 179991, 179992, 179993, 180015, 180031, 216369, 216385, 216390, 216398, 216411, 216431, 216433, 216466, 216467, 216470, 216471, 216476, 216482, 216483, 216485, 216489, 216490, 216494, 216498, 216504, 216506, 216512, 216519, 216529, 216543, 216553, 216559, 216560, 216561, 216574, 216577, 216583, 216590, 216591, 216595, 216596, 216597, 216598, 216599, 216600, 216604, 216607, 216608, 216609, 216613, 216618, 216619, 216622, 216623, 216625, 216626, 216629, 216697, 304407, 304408, 304409, 304410, 304411, 304412, 304413, 304414, 304415, 304416, 304417, 304418, 304419, 304420, 304421, 304422, 304423, 304424, 304425, 304426, 304427, 304428, 304429, 304430, 304431, 304432, 304433, 304434, 304435, 304436, 304437, 304438, 304439, 304440, 304441, 304442, 304443, 304444, 304445, 304446, 304447, 304448, 304449, 304450, 304451, 304452, 304453, 304454, 304455, 304456, 304457, 304458, 304459, 304460, 304461, 304462, 304463, 304464, 304465, 304466, 304467, 304468, 304469, 304470, 304471, 304472, 304473, 304474, 304475, 304476, 304477, 304478, 304479, 304480, 304481, 304482, 304483, 304484, 304485, 304486, 304487, 304488, 304489, 304490, 304491, 304492, 304493, 304494, 304495, 304496, 304497, 304498, 304499, 304500, 304501, 304502, 304503, 304504, 304505, 304506, 304507, 304508, 304509, 304510, 304511, 304512, 304513, 304514, 304515, 304516, 304517, 304518, 304519, 304520, 304521, 304522, 304523, 304524, 304525, 304526, 304527, 304528, 304529, 304530, 304531, 304532, 304533, 304534, 304535, 304536, 304537, 304538, 304539, 304540, 304541, 304542, 304543, 304544, 304545, 304546, 304547, 304548, 304549, 304550, 304551, 304552, 304553, 304554, 304555, 304556, 304557, 304558, 304559, 304560, 304561, 304562, 304563, 304564, 304565, 304566, 304567, 304568, 304569, 304570, 304571, 304572, 304573, 304574, 304575, 304576, 304577, 304578, 304579, 304580, 304581, 304582, 304583, 304584, 304585, 304586, 304587, 304588, 304589, 304590, 304591, 304592, 304593, 304594, 304595, 304596, 304597, 304598, 304599, 304600, 304601, 304602, 304603, 304604, 304605, 304606, 304607, 304608, 304609, 304610, 304611, 304612, 304613, 304614, 304615, 304616, 304617, 304618, 304619, 304620, 304621, 304622, 304623, 304624, 304625, 304626, 304627, 304628, 304629, 304630, 304631, 304632, 304633, 304634, 304635, 304636, 304637, 304638, 304639, 304640, 304641, 304642, 304643, 304644, 304645, 304646, 304647, 304648, 304649, 304650, 304651, 304652, 304653, 304654, 304655, 304656, 304657, 304658, 304659, 304660, 304661, 304662, 304663, 304664, 304665, 304666, 304667, 304668, 304669, 304670, 304671, 304672, 304673, 304674, 304675, 304676, 304677, 304678, 304679, 304680, 304681, 304682, 304683, 304684, 304685, 304686, 304687, 304688, 304689, 304690, 304691, 304692, 304693, 304694, 304695, 304696, 304697, 304698, 304699, 304700, 304701, 304702, 304703, 304704, 304705, 304706, 304707, 304708, 304709, 304710, 304711, 304712, 304713, 304714, 304715, 304716, 304717, 304718, 304719, 304720, 304721, 304722, 304723, 304724, 304725, 304726, 304727, 304728, 304729, 304730, 304731, 304732, 304733, 304734, 304735, 304736, 304737, 304738, 304739, 304740, 304741, 304742, 304743, 304744, 304745, 304746, 304747, 304748, 304749, 304750, 304751, 304752, 304753, 304754, 304755, 304756, 304757, 304758, 304759, 304760, 304761, 304762, 304763, 304764, 304765, 304766, 304767, 304768, 304769, 304770, 304771, 304772, 304773, 304774, 304775, 304776, 304777, 304778, 304779, 304780, 304781, 304782, 304783, 304784, 304785, 304786, 304787, 304788, 304789, 304790, 304791, 304792, 304793, 304794, 304795, 304796, 304797, 304798, 304799, 304800, 304801, 304802, 304803, 304804, 304805, 304806, 304807, 304808, 304809, 304810, 304811, 304812, 304813, 304814, 304815, 304816, 304817, 304818, 304819, 304820, 304821, 304822, 304823, 304824, 304825, 304826, 304827, 304828, 304829, 304830, 304831, 304832, 304833, 304834, 304835, 304836, 304837, 304838, 304839, 304840, 304841, 304842, 304843, 304844, 304845, 304846, 304847, 304848, 304849, 304850, 304851, 304852, 304853, 304854, 304855, 304856, 304857, 304858, 304859, 304860, 304861, 304862, 304863, 304864, 304865, 304866, 304867, 304868, 304869, 304870, 304871, 304872, 304873, 304874, 304875, 304876, 304877, 304878, 304879, 304880, 304881, 304882, 304883, 304884, 304885, 304886, 304887, 304888, 304889, 304890, 304891, 304892, 304893, 304894, 304895, 304896, 304897, 304898, 304899, 304900, 304901, 304902, 304903, 304904, 304905, 304906, 304907, 304908, 304909, 304910, 304911, 304912, 304913, 304914, 304915, 304916, 304917, 304918, 304919, 304920, 304921, 304922, 304923, 304924, 304925, 304926, 304927, 304928, 304929, 304930, 304931, 304932, 304933, 304934, 304935, 304936, 304937, 304938, 304939, 304940, 304941, 304942, 304943, 304944, 304945, 304946, 304947, 304948, 304949, 304950, 304951, 304952, 304953, 304954, 304955, 304956, 304957, 304958, 304959, 304960, 304961, 304962, 304963, 304964, 304965, 304966, 304967, 304968, 304969, 304970, 304971, 304972, 304973, 304974, 304975, 304976, 304977, 304978, 304979, 304980, 304981, 304982, 304983, 304984, 304985, 304986, 304987, 304988, 304989, 304990, 304991, 304992, 304993, 304994, 304995, 304996, 304997, 304998, 304999, 305000, 305001, 305002, 305003, 305004, 305005, 305006, 305007, 305008, 305009, 305010, 305011, 305012, 305013, 305014, 305015, 305016, 305017, 305018, 305019, 305020, 305021, 305022, 305023, 305024, 305025, 305026, 305027, 305028, 305029, 305030, 305031, 305032, 305033, 305034, 305035, 305036, 305037, 305038, 305039, 305040, 305041, 305042, 305043, 305044, 305045, 305046, 305047, 305048, 305049, 305050, 305051, 305052, 305053, 305054, 305055, 305056, 305057, 305058, 305059, 305060, 305061, 305062, 305063, 305064, 305065, 305066, 305067, 305068, 305069, 305070, 305071, 305072, 305073, 305074, 305075, 305076, 305077, 305078, 305079, 305080, 305081, 305082, 305083, 305084, 305085, 305086, 305087, 305088, 305089, 305090, 305091, 305092, 305093, 305094, 305095, 305096, 305097, 305098, 305099, 305100, 305101, 305102, 305103, 305104, 305105, 305106, 305107, 305108, 305109, 305110, 305111, 305112, 305113, 305114, 305115, 305116, 305117, 305118, 305119, 305120, 305121, 305122, 305123, 305124, 305125, 305126, 305127, 305128, 305129, 305130, 305131, 305132, 305133, 305134, 305135, 305136, 305137, 305138, 305139, 305140, 305141, 305142, 305143, 305144, 305145, 305146, 305147, 305148, 305149, 305150, 305151, 305152, 305153, 305154, 305155, 305156, 305157, 305158, 305159, 305160, 305161, 305162, 305163, 305164, 305165, 305166, 305167, 305168, 305169, 305170, 305171, 305172, 305173, 305174, 305175, 305176, 305177, 305178, 305179, 305180, 305181, 305182, 305183, 305184, 305185, 305186, 305187, 305188, 305189, 305190, 305191, 305192, 305193, 305194, 305195, 305196, 305197, 305198, 305199, 305200, 305201, 305202, 305203, 305204, 305205, 305206, 305207, 305208, 305209, 305210, 305211, 305212, 305213, 305214, 305215, 305216, 305217, 305218, 305219, 305220, 305221, 305222, 305223, 305224, 305225, 305226, 305227, 305228, 305229, 305230, 305231, 305232, 305233, 305234, 305235, 305236, 305237, 305238, 305239, 305240, 305241, 305242, 305243, 305244, 305245, 305246, 305247, 305248, 305249, 305250, 305251, 305252, 305253, 305254, 305255, 305256, 305257, 305258, 305259, 305260, 305261, 305262, 305263, 305264, 305265, 305266, 305267, 305268, 305269, 305270, 305271, 305272, 305273, 305274, 305275, 305276, 305277, 305278, 305279, 305280, 305281, 305282, 305283, 305284, 305285, 305286, 305287, 305288, 305289, 305290, 305291, 305292, 305293, 305294, 305295, 305296, 305297, 305298, 305299, 305300, 305301, 305302, 305303, 305304, 305305, 305306, 305307, 305308, 305309, 305310, 305311, 305312, 305313, 305314, 305315, 305316, 305317, 305318, 305319, 305320, 305321, 305322, 305323, 305324, 305325, 305326, 305327, 305328, 305329, 305330, 305331, 305332, 305333, 305334, 305335, 305336, 305337, 305338, 305339, 305340, 305341, 305342, 305343, 305344, 305345, 305346, 305347, 305348, 305349, 305350, 305351, 305352, 305353, 305354, 305355, 305356, 305357, 305358, 305359, 305360, 305361, 305362, 305363, 305364, 305365, 305366, 305367, 305368, 305369, 305370, 305371, 305372, 305373, 305374, 305375, 305376, 305377, 305378, 305379, 305380, 305381, 305382, 305383, 305384, 305385, 305386, 305387, 305388, 305389, 305390, 305391, 305392, 305393, 305394, 305395, 305396, 305397, 305398, 305399, 305400, 305401, 305402, 305403, 305404, 305405, 305406, 305407, 305408, 305409, 305410, 305411, 305412, 305413, 305414, 305415, 305416, 305417, 305418, 305419, 305420, 305421, 305422, 305423, 305424, 305425, 305426, 305427, 305428, 305429, 305430, 305431, 305432, 305433, 305434, 305435, 305436, 305437, 305438, 305439, 305440, 305441, 305442, 305443, 305444, 305445, 305446, 305447, 305448, 305449, 305450, 305451, 305452, 305453, 305454, 305455, 305456, 305457, 305458, 305459, 305460, 305461, 305462, 305463, 305464, 305465, 305466, 305467, 305468, 305469, 305470, 305471, 305472, 305473, 305474, 305475, 305476, 305477, 305478, 305479, 305480, 305481, 305482, 305483, 305484, 305485, 305486, 305487, 305488, 305489, 305490, 305491, 305492, 305493, 305494, 305495, 305496, 305497, 305498, 305499, 305500, 305501, 305502, 305503, 305504, 305505, 305506, 305507, 305508, 305509, 305510, 305511, 305512, 305513, 305514, 305515, 305516, 305517, 305518, 305519, 305520, 305521, 305522, 305523, 305524, 305525, 305526, 305527, 305528, 305529, 305530, 305531, 305532, 305533, 305534, 305535, 305536, 305537, 305538, 305539, 305540, 305541, 305542, 305543, 305544, 305545, 305546, 305547, 305548, 305549, 305550, 305551, 305552, 305553, 305554, 305555, 305556, 305557, 305558, 305559, 305560, 305561, 305562, 305563, 305564, 305565, 305566, 305567, 305568, 305569, 305570, 305571, 305572, 305573, 305574, 305575, 305576, 305577, 305578, 305579, 305580, 305581, 305582, 305583, 305584, 305585, 305586, 305587, 305588, 305589, 305590, 305591, 305592, 305593, 305594, 305595, 305596, 305597, 305598, 305599, 305600, 305601, 305602, 305603, 305604, 305605, 305606, 305607, 305608, 305609, 305610, 305611, 305612, 305613, 305614, 305615, 305616, 305617, 305618, 305619, 305620, 305621, 305622, 305623, 305624, 305625, 305626, 305627, 305628, 305629, 305630, 305631, 305632, 305633, 305634, 305635, 305636, 305637, 305638, 305639, 305640, 305641, 305642, 305643, 305644, 305645, 305646, 305647, 305648, 305649, 305650, 305651, 305652, 305653, 305654, 305655, 305656, 305657, 305658, 305659, 305660, 305661, 305662, 305663, 305664, 305665, 305666, 305667, 305668, 305669, 305670, 305671, 305672, 305673, 305674, 305675, 305676, 305677, 305678, 305679, 305680, 305681, 305682, 305683, 305684, 305685, 305686, 305687, 305688, 305689, 305690, 305691, 305692, 305693, 305694, 305695, 305696, 305697, 305698, 305699, 305700, 305701, 305702, 305703, 305704, 305705, 305706, 305707, 305708, 305709, 305710, 305711, 305712, 305713, 305714, 305715, 305716, 305717, 305718, 305719, 305720, 305721, 305722, 305723, 305724, 305725, 305726, 305727, 305728, 305729, 305730, 305731, 305732, 305733, 305734, 305735, 305736, 305737, 305738, 305739, 305740, 305741, 305742, 305743, 305744, 305745, 305746, 305747, 305748, 305749, 305750, 305751, 305752, 305753, 305754, 305755, 305756, 305757, 305758, 305759, 305760, 305761, 305762, 305763, 305764, 305765, 305766, 305767, 305768, 305769, 305770, 305771, 305772, 305773, 305774, 305775, 305776, 305777, 305778, 305779, 305780, 305781, 305782, 305783, 305784, 305785, 305786, 305787, 305788, 305789, 305790, 305791, 305792, 305793, 305794, 305795, 305796, 305797, 305798, 305799, 305800, 305801, 305802, 305803, 305804, 305805, 305806, 305807, 305808, 305809, 305810, 305811, 305812, 305813, 305814, 305815, 305816, 305817, 305818, 305819, 305820, 305821, 305822, 305823, 305824, 305825, 305826, 305827, 305828, 305829, 305830, 305831, 305832, 305833, 305834, 305835, 305836, 305837, 305838, 305839, 305840, 305841, 305842, 305843, 305844, 305845, 305846, 305847, 305848, 305849, 305850, 305851, 305852, 305853, 305854, 305855, 305856, 305857, 305858, 305859, 305860, 305861, 305862, 305863, 305864, 305865, 305866, 305867, 305868, 305869, 305870, 305871, 305872, 305873, 305874, 305875, 305876, 305877, 305878, 305879, 305880, 305881, 305882, 305883, 305884, 305885, 305886, 305887, 305888, 305889, 305890, 305891, 305892, 305893, 305894, 305895, 305896, 305897, 305898, 305899, 305900, 305901, 305902, 305903, 305904, 305905, 305906, 305907, 305908, 305909, 305910, 305911, 305912, 305913, 305914, 305915, 305916, 305917, 305918, 305919, 305920, 305921, 305922, 305923, 305924, 305925, 305926, 305927, 305928, 305929, 305930, 305931, 305932, 305933, 305934, 305935, 305936, 305937, 305938, 305939, 305940, 305941, 305942, 305943, 305944, 305945, 305946, 305947, 305948, 305949, 305950, 305951, 305952, 305953, 305954, 305955, 305956, 305957, 305958, 305959, 305960, 305961, 305962, 305963, 305964, 305965, 305966, 305967, 305968, 305969, 305970, 305971, 305972, 305973, 305974, 305975, 305976, 305977, 305978, 305979, 305980, 305981, 305982, 305983, 305984, 305985, 305986, 305987, 305988, 305989, 305990, 305991, 305992, 305993, 305994, 305995, 305996, 305997, 305998, 305999, 306000, 306001, 306002, 306003, 306004, 306005, 306006, 306007, 306008, 306009, 306010, 306011, 306012, 306013, 306014, 306015, 306016, 306017, 306018, 306019, 306020, 306021, 306022, 306023, 306024, 306025, 306026, 306027, 306028, 306029, 306030, 306031, 306032, 306033, 306034, 306035, 306036, 306037, 306038, 306039, 306040, 306041, 306042, 306043, 306044, 306045, 306046, 306047, 306048, 306049, 306050, 306051, 306052, 306053, 306054, 306055, 306056, 306057, 306058, 306059, 306060, 306061, 306062, 306063, 306064, 306065, 306066, 306067, 306068, 306069, 306070, 306071, 306072, 306073, 306074, 306075, 306076, 306077, 306078, 306079, 306080, 306081, 306082, 306083, 306084, 306085, 306086, 306087, 306088, 306089, 306090, 306091, 306092, 306093, 306094, 306095, 306096, 306097, 306098, 306099, 306100, 306101, 306102, 306103, 306104, 306105, 306106, 306107, 306108, 306109, 306110, 306111, 306112, 306113, 306114, 306115, 306116, 306117, 306118, 306119, 306120, 306121, 306122, 306123, 306124, 306125, 306126, 306127, 306128, 306129, 306130, 306131, 306132, 306133, 306134, 306135, 306136, 306137, 306138, 306139, 306140, 306141, 306142, 306143, 306144, 306145, 306146, 306147, 306148, 306149, 306150, 306151, 306152, 306153, 306154, 306155, 306156, 306157, 306158, 306159, 306160, 306161, 306162, 306163, 306164, 306165, 306166, 306167, 306168, 306169, 306170, 306171, 306172, 306173, 306174, 306175, 306176, 306177, 306178, 306179, 306180, 306181, 306182, 306183, 306184, 306185, 306186, 306187, 306188, 306189, 306190, 306191, 306192, 306193, 306194, 306195, 306196, 306197, 306198, 306199, 306200, 306201, 306202, 306203, 306204, 306205, 306206, 306207, 306208, 306209, 306210, 306211, 306212, 306213, 306214, 306215, 306216, 306217, 306218, 306219, 306220, 306221, 306222, 306223, 306224, 306225, 306226, 306227, 306228, 306229, 306230, 306231, 306232, 306233, 306234, 306235, 306236, 306237, 306238, 306239, 306240, 306241, 306242, 306243, 306244, 306245, 306246, 306247, 306248, 306249, 306250, 306251, 306252, 306253, 306254, 306255, 306256, 306257, 306258, 306259, 306260, 306261, 306262, 306263, 306264, 306265, 306266, 306267, 306268, 306269, 306270, 306271, 306272, 306273, 306274, 306275, 306276, 306277, 306278, 306279, 306280, 306281, 306282, 306283, 306284, 306285, 306286, 306287, 306288, 306289, 306290, 306291, 306292, 306293, 306294, 306295, 306296, 306297, 306298, 306299, 306300, 306301, 306302, 306303, 306304, 306305, 306306, 306307, 306308, 306309, 306310, 306311, 306312, 306313, 306314, 306315, 306316, 306317, 306318, 306319, 306320, 306321, 306322, 306323, 306324, 306325, 306326, 306327, 306328, 306329, 306330, 306331, 306332, 306333, 306334, 306335, 306336, 306337, 306338, 306339, 306340, 306341, 306342, 306343, 306344, 306345, 306346, 306347, 306348, 306349, 306350, 306351, 306352, 306353, 306354, 306355, 306356, 306357, 306358, 306359, 306360, 306361, 306362, 306363, 306364, 306365, 306366, 173529, 173531, 173532, 173533, 173534, 173535, 173536, 173537, 173538, 173539, 173540, 173541, 173542, 173543, 173544, 173545, 173546, 173547, 173548, 173549, 173550, 173551, 173552, 173553, 173554, 173555, 173556, 173557, 173558, 173559, 173560, 173561, 173562, 173563, 173564, 173567, 173568, 173569, 173570, 173571, 173572, 173573, 173574, 173575, 173576, 173577, 173578, 173579, 173580, 173581, 173582, 173583, 173584, 173585, 173586, 173587, 173588, 173589, 173590, 173591, 173593, 173594, 173595, 173596, 175617, 175645, 175648, 175664, 175719, 175864, 175873, 176090, 176282, 176957, 176973, 177092, 177100, 177482, 177542, 178016, 178914, 179238, 179464, 179733, 179771, 179816, 179982, 180012, 180043, 216418, 216421, 216429, 216430, 216530, 216531, 216532, 216602, 216603, 216612, 216614, 216615, 216616, 216617, 216620, 216621, 294323, 294324, 294325, 294326, 294327, 294328, 294329, 294330, 294331, 294332, 294333, 294334, 294335, 294336, 294337, 294338, 294339, 294340, 294341, 294342, 294343, 294344, 294345, 294346, 294347, 294348, 294349, 294350, 294351, 294352, 294353, 294354, 294355, 294356, 294357, 294358, 294359, 294360, 294361, 294362, 294363, 294364, 294365, 294366, 294367, 294368, 294369, 294370, 294371, 294372, 294373, 294374, 294375, 294376, 294377, 294378, 294379, 294380, 294381, 294382, 294383, 294384, 294385, 294386, 294387, 294388, 294389, 294390, 294391, 294392, 294393, 294394, 294395, 294396, 294397, 294398, 294399, 294400, 294401, 294402, 294403, 294404, 294405, 294406, 294407, 294408, 294409, 294410, 294411, 294412, 294413, 294414, 294415, 294416, 294417, 294418, 294419, 294420, 294421, 294422, 294423, 294424, 294425, 294426, 294427, 294428, 294429, 294430, 294431, 294432, 294433, 294434, 294435, 294436, 294437, 294438, 294439, 294440, 294441, 294442, 294443, 294444, 294445, 294446, 294447, 294448, 294449, 294450, 294451, 294452, 294453, 294454, 294455, 294456, 294457, 294458, 294459, 294460, 294461, 294462, 294463, 294464, 294465, 294466, 294467, 294468, 294469, 294470, 294471, 294472, 294473, 294474, 294475, 294476, 294477, 294478, 294479, 294480, 294481, 294482, 294483, 294484, 294485, 294486, 294487, 294488, 294489, 294490, 294491, 294492, 294493, 294494, 294495, 294496, 294497, 294498, 294499, 294500, 294501, 294502, 294503, 294504, 294505, 294506, 294507, 294508, 294509, 294510, 294511, 294512, 294513, 294514, 294515, 294516, 294517, 294518, 294519, 294520, 294521, 294522, 294523, 294524, 294525, 294526, 294527, 294528, 294529, 294530, 294531, 294532, 294533, 294534, 294535, 294536, 294537, 294538, 294539, 294540, 294541, 294542, 294543, 294544, 294545, 294546, 294547, 294548, 294549, 294550, 294551, 294552, 294553, 294554, 294555, 294556, 294557, 294558, 294559, 294560, 294561, 294562, 294563, 294564, 294565, 294566, 294567, 294568, 294569, 294570, 294571, 294572, 294573, 294574, 294575, 294576, 294577, 294578, 294579, 294580, 294581, 294582, 294583, 294584, 294585, 294586, 294587, 294588, 294589, 294590, 294591, 294592, 294593, 294594, 294595, 294596, 294597, 294598, 294599, 294600, 294601, 294602, 294603, 294604, 294605, 294606, 294607, 294608, 294609, 294610, 294611, 294612, 315929, 391531, 173709, 173710, 173711, 173712, 173713, 173714, 173715, 173716, 173717, 173718, 173719, 173720, 173721, 173722, 173723, 173724, 173725, 173726, 173727, 173728, 173729, 173730, 173731, 173732, 173733, 173734, 173735, 173736, 173737, 173738, 173739, 173740, 173741, 173742, 173743, 173744, 173745, 173746, 173747, 173748, 173749, 173750, 173751, 173752, 173753, 175530, 175571, 175686, 175720, 175741, 175743, 175865, 175866, 175867, 175869, 175918, 176040, 176048, 176055, 176064, 176074, 176075, 176137, 176154, 176170, 176193, 176211, 176234, 176235, 176250, 176257, 176462, 176671, 176678, 176701, 176991, 177006, 177007, 177008, 177140, 177604, 177668, 177710, 177727, 177747, 177748, 177825, 177826, 177840, 177880, 178094, 178114, 178706, 178752, 178754, 178846, 178866, 178873, 178887, 178978, 179006, 179036, 179188, 179215, 179373, 179432, 179450, 179576, 179998, 180016, 180017, 216505, 216611, 216624, 216696, 216702)) AND (t_d.attribute_id IN ('996')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))