1055 Expression #2 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'co038478_hsrts.pov.products_options_values_sort_order' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
in:
[SELECT count(DISTINCT p2a.products_id) as quantity, po.products_options_name, pov.products_options_values_name, SUM(IF(p2a.products_id IN(2399,5735,3337,3532,2467,2627,5457,1520,684,4100,5832,6112,6798,4910,357,2120,65,199,344,3134,4559,4666,5390,5629,5901,6087,6416,5026,397,1752,6654,3128,6158,3737,3766,1533,2693,920,1458,2412,1030,1118,2499,640,2169,5893,770,2262,4070,1075,963,193,1040,4578,5337,3554,2501,699,4117,5882,4020,2582,1252,139,5223,626,3757,4726,6307,6703,2816,5509,6550,6892,4029,4183,4432,3745,3167,1942,1490,1882,3486,4197,2711,449,191,521,1415,2654,3533,21,262,2707,2615,5450,3640,3182,155,2763,3557,5857,2673,3411,87,5470,5756,5235,1398,3221,3230,203,3521,3573,3447,3941,116,296,1485,2409,2577,3911,5678,2026,1262,6218,6757,915,1808,4616,1924,1530,2912,60,2241,3590,2040,582,615,5936,6633,6794,3417,6043,6524,4156,5976,3592,3611,6695,2937,1611,2324,5825,1045,3142,1111,1822,4973,2795,5714,1375,2545,978,1094,2164,95,2145,4461,552,3039,3164,2879,3287,3410,3522,4538,5297,3857,332,400,2146,3841,4107,5472,5586,5003,4099,3505,713,1964,1122,3228,39,2212,4853,3710,5726,478,2851,1866,3587,6288,6315,989,1422,1694,41,3003,5413,1528,520,4769,531,5137,2884,887,6100,6627,1326,554,735,2700,352,5400,1032,1636,6592,6817,5238,6125,6885,6002,6473,5462,6404,6723,3386,1558,5983,957,968,6501,6823,4372,4113,1668,5160,1202,811,6258,6377,1921,4913,4634,5731,892,5994,6460,64,6504,6726,5652,4224,1467,2305,465,802,4121,5884,6593,6821,5819,1280,6212,6541,896,5197,6525,6929,2439,1734,3241,3750,536,5492,5610,2122,6421,6443,830,4673,5804,6365,6603,1470,2296,2440,3883,1781,4261,1163,2089,3079,110,1695,4999,603,2128,1451,5239,6266,6543,3159,5485,377,991,2521,3282,3630,6451,6647,2142,4499,6353,6403,6739,5659,4185,4830,3987,5868,3315,5822,2426,3620,1949,777,3273,1570,1945,857,1409,1601,1488,3081,4800,1073,4503,3924,1080,985,2186,2532,2817,5557,1715,3216,5639,4230,3788,4783,1665,4053,4256,1848,4528,5876,4115,5294,3641,3971,182,2565,219,2161,548,5080,2136,5453,1022,4212,2758,347,2153,4542,3491,698,4399,2862,259,5707,5997,6017,6050,6709,6761,5398,3370,1716,3621,4579,3846,4943,4389,2427,5519,4849,3751,5890,5878,4126,2961,3329,4378,2742,6588,49,2783,4643,4764,4880,4523,1686,1971,5079,6542,3295,1116,5660,2886,1618,2635,59,495,3111,321,497,4370,3894,2977,3656,4295,4710,736,3004,5683,5985,6009,1751,3267,6057,6116,6386,6850,6469,6886,5412,5634,1782,6668,6464,4899,2445,2681,5348,655,1832,1927,3015,4167,5113,5221,5844,1654,1545,4083,5344,2133,4068,4549,2784,4654,238,5582,5578,2847,3767,1713,1936,5471,6065,6640,847,3069,4825,5309,330,2191,2613,2202,3127,3279,2662,5928,418,4532,3293,1640,6819,5189,9,5182,1332,1863,6034,661,6217,6349,858,6636,6909,4886,5272,3897,4321,2541,3726,1135,202,3499,5771,6141,6216,3343,5249,2819,6405,6086,246,853,2258,4858,2162,4965,3409,4108,2338,4363,1372,3316,4504,16,2349,6076,6441,6064,6572,4921,4877,5621,3884,3462,722,4551,4884,3738,6457,6558,3675,2332,2771,2278,3023,6375,6737,4213,6104,6422,6707,6813,6199,1273,1301,4970,6178,6806,80,404,2682,845,875,1001,3761,5176,5394,3292,4434,5712,3718,1194,4826,4304,6505,6519,5567,6320,6708,3685,766,2235,6762,43,4243,1511,5853,2157,1184,5922,3137,3307,643,2121,4413,2322,3927,928,1987,3353,704,1619,680,422,2261,801,1756,1121,2233,1259,4789,5162,2139,2295,5017,6491,6927,6240,1140,291,2486,4074,2062,4123,3895,5179,5964,6810,524,2100,1717,3375,5266,1236,2608,1279,4206,5376,4784,3122,1230,1290,2524,2975,3875,544,5741,290,948,1948,2573,2678,6069,6362,5991,6230,6313,6425,2671,2058,6449,6783,6870,6898,2809,6006,6672,4229,1613,3878,2533,5588,2442,647,1476,522,1857,338,743,1596,3348,4695,5093,173,3783,5966,6213,6733,297,4989,2444,2042,3682,1771,2587,6511,6355,6859,6074,6225,3520,6095,6286,6715,6021,2723,5674,5717,2065,4244,4268,2970,2141,2814,5084,529,3765,3349,5187,4661,5751,5135,4012,2328,230,2960,5147,4169,1041,1792,4711,6048,6156,6096,6196,4168,5318,6195,6574,1838,576,1526,4223,2569,741,4157,6863,791,2228,3889,4801,1951,2630,6151,6828,6459,6203,6267,6394,6851,5990,6165,6907,4393,444,3779,3952,733,5711,429,3974,775,2789,3054,4421,663,1827,2788,4096,4716,5007,253,4493,6098,6138,6373,6426,6341,644,4298,351,532,4110,5380,5906,764,5143,5351,2092,3712,871,1679,4317,5040,5289,1321,4820,947,4469,5564,2033,2964,1984,2297,2477,3547,4349,4733,4905,5120,5489,2591,4933,146,4946,1816,6570,6177,6815,745,1394,3888,5302,5503,5650,5690,6884,703,1254,2209,3992,4128,4876,138,1454,1991,2890,3341,6809,5201,1631,4859,1351,6224,6247,6498,632,2435,2833,2887,3892,3226,2158,127,1016,1501,1699,2319,2653,3106,3202,3254,3332,3776,3903,4026,4318,4429,4770,5106,5159,5165,5474,5968,566,2252,3942,5550,5551,1999,6648,6084,2143,69,204,921,1549,1564,1610,1633,2219,2400,2415,2876,3006,3362,4005,4041,4313,4394,4674,4758,4813,4996,5115,5727,1773,1291,4003,380,3989,3962,4325,3717,528,5861,2504,4474,5600,2125,2540,3445,4163,4600,363,1609,2747,623,1998,285,2873,5495,2481,5581,3457,841,4598,1957,2544,5595,6789,1093,1295,2291,2871,3047,3413,4081,1365,1583,1965,4883,5969,804,2944,3588,5592,5780,1880,3758,3860,1824,2669,3001,3060,4358,2601,2099,3442,5059,689,5406,1110,5641,4897,239,4353,225,4527,5230,5329,5251,451,1940,3770,5139,2547,3107,709,1410,5303,5791,902,271,2717,1182,3165,5130,5579,5872,3354,2221,2232,2571,5392,3089,1449,4774,1674,2534,73,1215,1873,2661,5420,4331,3055,1138,840,3405,1693,1156,3886,4781,5233,2287,5188,580,2079,3034,3508,3958,4966,3595,3247,506,3439,455,1039,1790,2987,3160,4601,5247,5516,165,1423,1537,4908,5803,1124,1447,3515,279,2127,2386,3672,3822,4447,4743,908,3552,4603,542,3314,4127,4823,1421,3579,14,27,89,1052,1112,5720,2830,1168,834,4237,4539,3065,2754,5050,128,688,1013,2470,1750,2256,4589,702,4647,4352,5074,1536,2343,2764,3769,4323,4566,1469,2550,844,6462,6164,6220,6448,2277,122,645,987,1050,1377,2361,2560,3460,3797,4001,4337,4699,5100,5215,5561,5585,1020,2556,5770,6719,1720,1902,1187,3659,3145,2979,5907,5064,2518,5577,1710,3534,5900,936,399,3964,2557,2996,4134,5257,98,226,5126,3266,5563,1626,4265,4470,5765,471,1084,1414,3919,4509,4512,2279,3688,3252,5805,1801,3466,2805,3687,2952,1766,5754,3328,3207,2688,742,4445,385,1523,1775,3018,3119,4411,5954,1573,1544,2184,3606,4573,306,3234,3664,4194,4329,3114,3906,3393,5193,5664,1243,5192,2379,2737,5426,5525,345,6718,6928,3950,4291,3443,4204,898,1980,6825,4983,2246,556,4282,6683,1670,5699,6366,5777,1705,2028,2082,2264,2452,3115,3407,3424,4424,5887,1374,2712,5422,5599,320,3786,5967,2419,6830,6432,1504,1939,6846,848,1912,4085,5620,6442,3268,3559,1026,4552,4911,287,5526,2283,3810,4125,6383,2600,3702,3110,362,1266,3650,4455,1831,5234,4775,1369,5166,6934,3913,4518,3716,3873,5898,1908,673,3125,496,4924,5521,4297,5843,1078,1219,2924,3472,4452,5029,1086,1487,2359,3192,3762,5328,5532,5801,774,2116,2657,5151,4463,5573,861,2877,4534,2154,1097,2204,4473,2813,5972,3805,4894,5308,6340,6881,932,3947,5624,1210,1767,3014,3185,361,683,2974,3478,1233,2387,3830,4617,5694,1600,2786,4024,4847,237,2044,2645,4048,5399,3408,3746,1787,575,1426,1179,3271,734,1269,5076,3798,5916,540,2218,4274,1728,5730,4439,6170,129,2227,1314,3585,156,1947,2351,15,2248,2888,427,1737,4957,5276,4162,2301,3086,263,4201,4623,5347,5950,1616,3380,5001,319,96,301,227,609,669,670,772,803,1003,1164,1356,1492,1994,2306,2408,2632,3062,3326,3347,3677,3828,3854,3879,4072,4132,4412,4457,4584,4766,4928,5060,5278,5293,5331,5434,5463,5605,5644,5736,5772,5814,5920,223,440,765,838,1017,1205,1845,2066,3519,3651,3705,4037,4051,4193,4802,5177,5440,5479,5749,3143,5675,63,6121,6575,6848,409,943,1784,1785,2585,3756,5828,1057,1153,1234,2894,4976,5965,6324,1743,1337,4043,1671,1837,3577,4574,5045,5170,5783,5931,4327,4962,6219,179,474,700,851,1453,1562,1778,2163,2766,2799,2917,3194,3238,3357,3506,3598,3799,3905,4150,4683,4900,4942,5210,5905,6027,6173,6255,6257,6263,2179,2473,2939,4462,5058,6521,26,1821,3909,4727,6033,6107,6467,6482,6578,6663,3744,4468,327,395,534,574,589,705,1139,1502,1505,1746,1791,2472,3049,3121,3240,3523,3753,3900,3975,4688,4722,4731,5246,5325,5536,5774,5798,782,883,1151,2362,2429,3168,3236,3244,3961,3990,4066,4133,5032,5831,3998,5642,6381,6439,6766,6712,515,584,649,707,763,788,1706,1850,1903,2217,2401,2449,2853,2927,3179,3391,3430,3768,3925,5646,6767,5248,2381,6526,7,126,430,778,1166,1540,1587,1952,2263,2603,2744,2803,2898,3274,3374,3473,3999,6628,4870,6765,1576,2982,4381,5948,339,1861,6172,5419,3101,3721,6012,901,1015,6287,2168,3953,738,2197,1268,355,2388,6090,6137,6153,6210,6283,6321,6476,6488,6622,6745,6911,876,980,1271,1574,2155,5125,1642,4671,34,1817,2650,2922,3090,3510,4968,5178,5554,5606,3706,5679,2391,5240,340,2107,2421,2490,2801,3399,3679,4502,5505,5574,5790,50,2031,3172,3531,358,620,1445,1475,2397,2586,3663,3823,3861,4555,5748,4410,1342,137,260,313,1227,1981,2090,2156,2250,2580,2659,3139,3177,3384,3972,5075,5553,114,505,1037,3299,3319,3576,3584,3602,3636,4207,4745,5025,5044,5414,2966,664,1120,1287,1302,2053,2548,3420,3560,5491,5616,5688,5849,167,2745,4650,4744,445,595,1774,2198,3105,3321,1943,2365,3465,2036,224,231,309,366,1056,1058,1155,1580,2455,2730,2821,3356,3837,4090,4142,4216,5622,5657,5896,1944,493,2346,3144,3804,1515,4855,56,605,628,675,797,927,1090,1237,3050,3774,4308,4397,4753,4803,4898,4990,5874,3885,4846,5167,5404,541,2448,3085,5042,5873,596,995,1956,4974,5377,270,482,1238,1292,1379,1896,2084,2318,2564,2911,3080,3431,3617,3734,4286,5740,1387,1624,3036,3936,4780,5407,5507,5673,1053,2507,5881,2236,518,561,606,1225,1992,2456,2461,2855,3446,4608,5129,5391,6029,6646,278,747,1012,1283,2024,2200,3042,3984,4130,5207,1646,2372,5476,5603,5854,6406,6826,839,2068,3280,3678,3933,5109,5682,196,723,767,938,946,1019,1248,2656,2696,2972,3690,4088,4184,4985,5035,5117,5362,5405,5409,5701,5821,5841,221,2070,2321,2447,3551,3622,4114,5180,5792,5845,5951,141,232,417,438,658,711,888,971,990,1002,1403,1566,1615,1859,1969,2076,2767,3495,3517,3673,3985,4418,4871,5317,5626,5903,92,1220,1494,1571,2436,3041,3571,3719,4129,4356,4612,4804,5211,5295,708,1169,1826,2629,3683,3825,4076,4221,517,1217,2298,1380,1834,2692,587,3539,4250,4306,5356,5656,4793,1577,5744,1425,412,679,1884,3064,3075,3272,4867,5027,5425,6053,6296,6650,4628,6221,6773,174,560,2606,3260,5021,3608,4940,4737,5243,1793,1933,4636,4964,5865,1620,2266,1800,2407,3432,4056,5658,6019,6127,6402,6744,333,457,559,715,827,850,1071,1510,2211,2702,2897,3395,3570,3583,3639,3811,4014,4199,4404,4444,4591,4878,5636,5716,5982,2337,1658,4791,5723,33,310,500,674,1154,1383,1647,1704,1966,2011,2810,2839,2921,3550,3695,4831,5083,5517,5649,5715,5763,3847,75,154,1795,2037,2060,2285,2583,4367,4686,961,1482,1874,4698,5009,5023,5835,85,3149,3742,5433,5813,408,477,594,690,3415,368,1165,4280,48,923,983,1733,1,3355,5799,176,944,1366,1673,2431,3516,3965,4500,5255,5261,5514,5662,1590,1946,3103,5797,248,727,1333,1632,1779,2206,2646,2753,2957,3251,3475,4513,5604,1123,1226,194,475,1297,1680,1856,2342,2358,2589,3773,4458,4639,5653,5807,4373,2000,2323,2874,2907,2919,121,3817,5321,6204,6471,6532,6557,6641,6649,6670,6867,6010,6852,691,949,1722,2495,2726,2984,3096,3827,4346,4419,4618,4806,5004,5745,1162,1561,1761,1794,2067,2755,2891,4215,4339,4422,4941,5155,328,1539,1655,3009,2542,276,433,447,567,1042,1069,1158,1211,1685,1807,1925,2085,2115,2488,2713,2828,2949,2990,3072,3498,3730,3954,3957,4350,4386,4501,4545,4700,4748,4751,4891,4978,5342,5481,5530,5540,5704,5743,5769,5871,866,2280,5052,5097,376,1361,1678,1749,1819,1930,1958,2059,2677,3083,3157,4104,4122,4812,4844,4932,5265,5418,5739,1381,1825,2270,2514,3151,3225,4054,4530,5157,5345,755,5078,273,1152,2181,4033,3880,547,3740,1276,1307,1696,2314,5099,502,2865,2905,3931,4340,4548,4860,720,3180,619,710,731,1473,1730,1758,3452,3660,4039,4721,4773,5319,5323,4333,5504,308,2091,1263,1823,2561,905,1721,2376,2623,4374,5623,3633,109,748,2316,4300,4872,1459,3372,5346,411,618,1018,1246,1474,2320,2800,2962,3529,3699,4851,4854,5560,1976,4811,6191,6248,6481,6577,895,1434,1638,2790,3899,4510,4641,5232,5284,5468,5478,5,341,729,860,1289,1303,1677,1719,2476,2596,2739,3628,3793,3967,4027,4120,4264,4492,4648,4708,5102,5360,5633,1759,5301,814,1331,4890,2875,5411,6736,6902,22,184,590,918,1738,2220,3092,3250,3371,3789,4148,5062,247,4984,5908,650,1742,1076,2052,3940,2936,6300,6369,6348,6551,6725,6869,1926,2061,2423,2590,3214,4006,4633,1131,2622,538,2666,3923,4047,5493,1240,1257,1986,4382,4547,5124,5546,134,527,836,1209,2302,2616,2652,2832,2969,3218,3313,3437,3645,3728,4496,4554,4834,5056,5112,5268,5601,79,835,880,958,964,2001,2259,2843,3982,4078,4815,5128,5156,5570,5781,718,1538,2849,2976,3283,3870,4010,5169,5204,5565,1645,4152,5164,5262,428,452,1988,3281,3518,4401,4514,5374,374,1065,3070,3231,3582,3918,4543,5782,5960,4934,5892,384,4103,5909,6311,6840,1027,1700,1983,2555,3613,3647,4328,4627,5697,3831,5205,431,1681,2520,3318,3351,3951,4342,4799,2668,2983,3204,32,2370,3819,3201,2300,3697,4519,5217,1405,1890,3914,4055,2063,91,2021,6154,6390,6681,2274,3448,4270,5459,5875,413,740,1207,1697,2119,2257,3184,3403,3808,3983,4338,4491,4586,5847,812,930,2634,2032,539,4102,5917,2123,3708,5919,318,6,378,1345,2489,3174,3482,153,6041,6161,6209,6415,6742,6749,806,2196,4092,942,5598,5072,5862,3033,4626,1864,6013,6072,6180,6372,6397,6512,6605,6716,6811,6926,6254,6920,6007,6060,6122,6399,6619,6775,1588,36,6023,6031,468,668,809,913,6142,1014,6179,6181,1534,1877,2195,6357,2531,6398,6412,6418,6445,6447,6492,3497,3514,6548,6573,6609,6629,6655,6710,4613,6808,5511,6872,5645,6901,5934,2644,3901,1468,5384,2967,82,907,1214,2597,3255,3991,5721,115,5290,498,672,1161,1595,2782,5663,6118,6185,6743,6693,4417,865,3400,3599,4234,24,769,780,1397,1462,2152,5438,2985,4035,4508,5970,986,1495,1917,160,1114,1192,1388,2687,3882,4520,5016,5031,5096,5183,5327,51,1443,6269,6697,2336,3701,5958,5995,6236,6620,6857,6440,6689,1641,5591,5343,3605,3601,1852,1068,166,751,1043,1072,1604,3073,4153,5296,612,2660,4477,940,2787,3479,1048,1739,2308,5005,2852,4294,4938,5794,254,3689,5283,5816,3480,4955,4796,5011,1311,2050,2073,4757,5558,6279,6782,1177,1300,2494,3383,3542,3597,3665,3948,5477,5786,3229,4947,1344,2675,4761,274,1231,5572,2663,799,2380,598,5260,1847,807,4912,3832,3574,686,5693,4058,3451,4061,2402,68,1109,3388,4154,5973,4366,4922,5336,4920,443,3530,4875,1128,4273,1687,2667,1348,1892,2392,5945,1744,3300,4428,5443,5533,3396,4590,4161,4269,3818,5172,1251,5708,2854,3915,5448,2111,4302,5897,5498,393,1193,3666,5488,1692,5388,2368,1723,629,2743,119,2414,2942,1255,2981,2509,5927,3358,5886,2389,4064,1929,2882,74,2094,2915,4987,1688,4902,5981,4071,3794,761,3269,3763,5818,5244,4594,752,5281,5449,169,4364,316,3459,5015,3648,2683,4490,5959,1525,3170,1249,3833,1871,2836,1839,2733,5956,975,4537,5288,5947,304,3136,3306,5824,2462,3977,459,4944,2909,4188,3363,1360,4017,5049,3603,4077,4768,346,4856,312,401,604,621,2008,4211,4252,4992,4994,5036,4917,3489,4728,124,492,1213,2071,4863,3203,5869,315,4151,1955,1077,2931,4526,5416,2539,2994,3173,456,1222,5198,4141,4335,1585,3755,4426,402,1666,3263,1066,832,5456,3898,3141,3126,3662,4409,4479,1010,2373,4239,5095,1329,5613,5689,3258,4918,2620,3543,2704,3996,266,1489,3930,5937,3011,1175,1809,235,286,1581,2046,2048,2390,2906,3123,3188,3210,3693,4777,5630,6618,6249,6584,2968,2740,3826,1763,5118,2946,973,2331,2340,3091,5051,863,1378,5330,3031,2047,3537,5501,4255,3637,136,1400,2770,2947,1416,1941,3088,2104,3696,6358,150,5048,4483,61,3124,4712,5840,2546,2567,2665,2714,3024,4498,4772,5127,5523,5880,93,454,2502,1732,2329,5738,463,6022,6530,1928,3193,4981,177,331,2299,4038,1676,2012,4436,719,442,1586,481,1101,3564,1323,1419,2126,3501,5393,5408,4431,3440,1513,2109,2738,728,1341,6268,6893,6152,6251,6345,6424,5996,6117,6119,6540,6594,6721,6187,6294,6318,6428,6738,6800,6385,6676,30,2503,5002,771,1541,2176,5513,5812,5852,1547,1296,3453,4023,4198,1741,3237,3771,4991,1358,2690,2055,83,1891,2245,2375,6531,6534,6561,6656,6774,6779,6059,6131,4446,5718,6092,6101,6124,6198,6201,6259,6306,6332,6391,6438,6458,6536,6583,6590,6600,6604,6644,6752,6796,6834,6838,6899,6908,6328,6931,342,406,439,549,617,1190,1328,1584,2027,2087,2148,2552,2826,2908,3449,3504,3638,3669,4016,4322,4558,4723,4730,4842,5089,5228,5282,5428,5729,5796,2482,295,298,364,610,970,2007,2844,3017,3458,4606,5943,828,3836,1157,676,311,3956,180,240,687,1614,2174,2251,795,1691,2045,3067,4376,3046,4049,4080,4334,4480,4531,5609,2078,4004,6229,6132,6342,6239,732,2282,2398,2403,2728,4696,372,255,233,1762,2716,5387,2899,2528,45,88,148,151,241,251,350,387,403,511,820,1091,1113,1160,1565,1582,1612,1796,1840,1841,2002,2005,2077,2086,2159,2205,2526,2538,2628,2773,2861,3048,3077,3135,3213,3256,3277,3310,3548,3801,3946,3959,4105,4173,4214,4262,4303,4365,4511,4521,4536,4575,4587,4640,4672,4817,5034,5088,5226,5264,5427,5696,5742,5746,5904,1298,1550,1962,2686,3094,3422,4042,4935,5830,2450,3100,5665,2699,3896,5979,3619,1180,2474,3908,706,4821,1054,1521,3661,210,1575,1961,4222,4720,5999,6301,6444,6866,1770,6042,6420,6478,6589,6759,6877,6070,6094,6871,3589,6368,6634,1367,6431,565,1555,3594,4564,90,158,168,201,209,343,450,1241,1418,1569,1814,2173,2433,2900,3219,3346,3686,3866,4478,4653,4669,4763,5077,5458,5722,5851,1516,1772,2234,4019,5386,5924,97,2878,1083,2150,4865,53,3600,2188,2776,3939,4525,4407,3095,2892,2132,4619,5253,5366,1727,2454,503,164,1496,3338,5833,1486,4972,5487,5914,6082,6246,6360,6812,6839,6903,6261,6016,6030,6193,6673,6855,6089,6235,6748,6769,3211,869,4515,4659,4682,5955,2619,4266,4747,2607,4553,2355,3223,3616,4572,5403,1070,5889,272,514,982,2842,3288,5483,6616,6702,5196,5866,421,4442,5684,2097,2348,1260,5850,4172,135,3146,3365,4242,5895,1431,1639,2268,4109,1330,3217,3749,4430,2043,2333,3492,4202,5218,1753,3,6071,6427,6571,6714,6837,6860,6325,6326,6785,6924,5993,6265,6466,6741,6799,6858,6080,4101,5989,6024,360,634,984,1651,2134,3286,5000,5006,5111,5590,5602,5879,1428,4629,5245,228,906,1499,2837,3013,3045,3108,3820,3867,4678,19,373,856,2367,3022,3596,3764,5363,6136,6729,133,264,783,1064,1172,2417,2536,2610,2719,2829,2988,3166,3176,3851,4045,4082,4143,4203,4403,5402,5823,1937,3035,6055,6238,6691,6853,466,916,954,996,1858,2208,2344,3102,3444,4529,4864,4919,5022,5213,5548,5552,5571,5593,5975,2229,3509,4464,5229,786,3680,4388,4959,4057,2791,4729,6001,6051,6430,6446,6777,6913,6215,6407,6242,131,6014,369,383,390,523,535,630,6106,823,924,941,979,1117,1186,1223,1327,1389,1603,1684,6281,1798,1878,1899,1938,2074,2170,2183,2535,2598,2748,2812,2815,2820,3066,3120,3133,3198,3200,3276,3468,3703,3715,3723,3733,3812,3872,3912,3969,4073,4086,6637,4149,4253,4260,4263,4311,4344,4396,4441,4451,4605,4614,4677,4681,4767,4818,4923,4967,5037,5057,5098,5132,5149,5430,5439,5454,5524,5541,5627,5860,5918,3428,3152,5555,1851,2932,3325,5925,4557,2432,4330,3161,4,86,120,314,329,424,508,657,784,825,862,953,1007,1063,1088,1171,1294,1355,1429,1546,1557,1617,1701,1747,1842,1897,1923,2029,2182,2210,2384,2385,2396,2441,2492,2602,2609,2636,2761,2867,2902,2926,3074,3187,3333,3427,3566,3581,3612,3671,3681,3981,4062,4079,4348,4467,4604,4746,5065,5194,5275,5357,5385,5725,5910,5912,5933,4754,4018,6067,6417,6523,461,2231,3308,3494,3528,3829,5200,379,4607,4827,2434,724,4719,5988,6011,6097,6503,6671,6935,1703,2339,2935,4951,2575,6509,6688,6114,6115,6228,6567,6465,6642,6497,6887,3275,5073,108,897,1755,2451,2471,3949,652,934,2088,2129,2963,2998,4098,4283,4450,4637,4707,4759,4887,5963,5298,2779,1384,3792,600,1950,2859,5608,3461,5349,6044,6873,3893,4585,6450,6485,6700,6805,6818,6917,2230,2794,2868,392,2465,1968,2822,3435,4196,5838,3850,1272,2137,2335,6039,6277,6356,6508,5508,5315,2039,6186,6414,712,2223,2458,2483,2513,3404,3653,3890,4448,4794,5195,5286,5732,5952,6040,6200,972,1556,5628,3635,919,2804,1662,4961,5569,5702,3859,3780,5446,3760,4630,2009,3877,792,2422,5367), 1, 0)) as flag FROM products_attributes p2a JOIN products_options po ON p2a.options_id = po.products_options_id JOIN products_options_values pov ON p2a.options_values_id = pov.products_options_values_id WHERE po.products_options_id>2 and p2a.products_id IN (1,21,45,48,74,98,116,119,136,139,168,169,182,201,209,219,226,227,237,241,278,304,316,343,346,369,383,385,393,399,409,450,459,518,523,561,582,589,603,606,615,629,669,742,747,752,761,770,777,784,791,830,857,896,920,923,924,936,942,973,975,983,1012,1075,1080,1128,1165,1171,1193,1202,1207,1225,1249,1251,1263,1283,1348,1356,1360,1400,1409,1415,1418,1470,1523,1525,1569,1570,1611,1646,1654,1665,1687,1688,1692,1710,1715,1733,1775,1814,1823,1839,1841,1848,1866,1871,1921,1924,1929,1945,1949,1992,2024,2044,2066,2094,2136,2142,2153,2161,2170,2182,2186,2188,2200,2210,2262,2277,2331,2340,2368,2372,2389,2392,2408,2414,2433,2439,2456,2461,2462,2477,2499,2501,2532,2557,2561,2565,2620,2650,2654,2667,2683,2700,2707,2733,2743,2770,2776,2795,2817,2836,2854,2855,2882,2900,2909,2915,2922,2936,2937,2942,2947,2961,2964,2981,2996,3018,3042,3048,3049,3081,3088,3091,3119,3128,3133,3136,3161,3170,3216,3269,3273,3300,3306,3310,3326,3337,3355,3358,3370,3386,3396,3446,3447,3459,3510,3523,3530,3532,3534,3543,3547,3603,3606,3611,3620,3641,3648,3651,3666,3686,3706,3733,3753,3763,3766,3788,3794,3833,3915,3924,3939,3947,3964,3977,3984,3999,4017,4029,4064,4071,4085,4115,4130,4134,4156,4167,4188,4273,4280,4303,4349,4364,4372,4411,4428,4445,4467,4479,4490,4503,4525,4528,4537,4542,4573,4587,4590,4594,4608,4616,4627,4653,4672,4731,4746,4763,4768,4783,4800,4817,4856,4875,4902,4910,4944,4999,5015,5026,5049,5060,5093,5120,5126,5129,5137,5178,5207,5238,5244,5249,5257,5281,5288,5294,5344,5388,5439,5440,5443,5448,5449,5453,5462,5476,5485,5488,5498,5536,5598,5603,5605,5606,5620,5639,5652,5659,5660,5679,5708,5714,5722,5746,5799,5818,5819,5824,5825,5847,5851,5854,5876,5882,5886,5893,5900,5936,5945,5947,5954,5956,5959,5966,5981,253,444,481,566,661,719,733,740,745,1321,1378,1476,1501,1699,1751,2032,2048,2092,2104,2119,2158,2252,2533,2653,2671,2847,3106,3111,3114,3226,3254,3332,3696,3712,3767,3779,3854,3906,3942,3952,3983,3998,4213,4304,4321,4429,4491,4493,4711,4770,4820,5143,5159,5201,5302,5330,5351,5434,5474,5503,5550,5551,5711,5906,3,19,108,180,240,272,311,339,373,514,676,687,795,828,856,869,897,919,982,1070,1157,1272,1367,1614,1691,1755,1861,1891,1937,2045,2078,2137,2174,2230,2245,2251,2335,2355,2367,2375,2451,2465,2471,2607,2619,2794,2804,2829,2842,2859,2868,3022,3035,3046,3067,3211,3223,3288,3596,3616,3764,3836,3850,3949,3956,4004,4045,4049,4080,4266,4334,4376,4480,4515,4531,4553,4572,4659,4682,4747,5363,5403,5483,5609,5889,5955,4,120,411,424,538,547,712,814,1007,1064,1152,1276,1331,1361,1429,1546,1617,2458,2598,2609,2610,2666,2761,2875,2898,2902,3074,3146,3180,3241,3374,3612,3633,3872,4018,4047,4082,4242,4260,4677,4890,5037,5057,5065,5078,5200,5541,5732,5910,5,9,86,92,184,199,238,276,328,344,401,402,417,433,438,447,461,492,508,567,621,706,711,731,767,778,783,862,901,918,938,1002,1019,1057,1066,1158,1162,1166,1172,1190,1220,1248,1494,1571,1575,1666,1676,1678,1684,1703,1719,1730,1749,1793,1807,1884,1928,1976,2012,2047,2059,2070,2168,2183,2231,2306,2415,2419,2434,2436,2450,2476,2488,2507,2538,2539,2546,2567,2602,2628,2656,2665,2686,2696,2713,2719,2739,2767,2815,2826,2828,2972,2988,2994,3009,3041,3083,3094,3100,3173,3193,3213,3268,3272,3276,3333,3498,3504,3517,3528,3537,3559,3564,3571,3628,3635,3690,3744,3755,3789,3793,3818,3851,3879,3898,3946,3954,3959,3985,4041,4088,4129,4141,4148,4151,4161,4184,4211,4214,4215,4269,4297,4313,4317,4356,4422,4436,4468,4498,4501,4552,4574,4604,4612,4648,4721,4730,4737,4748,4766,4772,4804,4811,4818,4821,4863,4871,4891,4911,4923,4951,4964,4981,4994,5027,5035,5036,5045,5051,5062,5089,5102,5117,5127,5172,5180,5198,5211,5243,5265,5275,5295,5342,5405,5428,5456,5481,5501,5540,5633,5665,5704,5707,5769,5777,5792,5823,5830,5841,5865,5918,5948,5951,5965,6,59,64,82,87,88,93,150,155,191,202,233,251,255,345,361,362,372,378,400,413,418,449,463,515,521,524,552,575,713,738,743,763,811,858,887,898,907,957,963,968,1015,1027,1040,1122,1179,1214,1252,1266,1268,1345,1369,1374,1414,1425,1426,1431,1451,1490,1492,1504,1533,1564,1577,1633,1639,1640,1697,1700,1705,1732,1762,1766,1787,1801,1822,1831,1882,1936,1942,1968,1980,1983,2005,2026,2028,2058,2068,2082,2089,2120,2122,2197,2202,2257,2264,2268,2279,2282,2305,2329,2379,2398,2403,2467,2489,2528,2555,2597,2613,2627,2662,2688,2712,2716,2737,2754,2763,2805,2809,2822,2853,2899,2977,3031,3039,3062,3077,3110,3127,3182,3185,3207,3210,3252,3255,3266,3267,3279,3280,3287,3293,3328,3347,3393,3407,3417,3424,3435,3533,3557,3587,3613,3621,3630,3640,3647,3650,3661,3678,3687,3688,3693,3721,3737,3745,3841,3911,3913,3953,3991,4070,4099,4109,4113,4132,4185,4196,4197,4204,4265,4282,4291,4328,4338,4399,4424,4455,4463,4470,4511,4512,4518,4532,4575,4586,4726,4784,4793,4830,4899,4924,4973,4983,5050,5166,5192,5196,5197,5223,5234,5331,5387,5422,5450,5457,5470,5492,5509,5567,5573,5578,5582,5624,5630,5682,5697,5699,5721,5736,5754,5756,5772,5804,5805,5828,5838,5843,5866,5884,5904,5928,5967,7,27,122,128,156,165,225,239,271,285,380,506,528,540,688,702,840,987,1020,1039,1050,1093,1097,1110,1112,1138,1182,1365,1423,1469,1536,1537,1583,1609,1674,1693,1720,1773,1790,1880,1902,1947,1957,1965,2079,2099,2116,2204,2218,2227,2248,2287,2291,2351,2391,2470,2481,2504,2534,2544,2556,2571,2657,2717,2871,2873,2888,2944,3034,3047,3055,3060,3145,3160,3165,3247,3354,3380,3405,3439,3442,3508,3595,3758,3958,3989,4163,4201,4274,4323,4325,4331,4353,4439,4473,4527,4534,4589,4598,4601,4647,4699,4883,4897,4908,4966,5029,5059,5100,5188,5215,5230,5240,5247,5251,5329,5392,5495,5516,5561,5585,5595,5600,5641,5731,5770,5791,5803,5950,5969,801,2233,2261,2295,3738,3765,5017,5135,5187,263,529,704,722,1184,1301,1511,1619,1987,2065,2121,2157,2322,2723,2814,3307,3353,3884,3927,4243,4244,4268,4413,4623,4877,4884,4970,5347,5674,5717,5853,5916,14,73,89,279,319,363,427,451,455,580,623,645,689,709,774,804,834,841,844,861,1013,1052,1078,1086,1124,1168,1215,1219,1291,1295,1314,1377,1410,1447,1449,1487,1616,1728,1737,1750,1824,1873,1940,1998,2125,2127,2143,2221,2232,2256,2301,2343,2359,2361,2386,2540,2547,2550,2560,2601,2661,2669,2747,2764,2830,2877,2924,2987,3001,3065,3089,3107,3192,3413,3445,3457,3460,3472,3515,3585,3588,3672,3717,3762,3769,3770,3797,3822,3860,3962,4001,4003,4081,4162,4237,4337,4352,4358,4447,4452,4474,4539,4566,4600,4743,4774,4957,5001,5076,5130,5139,5151,5276,5303,5328,5406,5420,5532,5579,5581,5592,5720,5730,5780,5801,5861,5872,1513,3440,15,16,36,223,247,306,440,495,574,640,655,668,673,683,803,883,943,1014,1054,1091,1118,1160,1262,1280,1337,1468,1521,1534,1565,1573,1600,1626,1734,1782,1785,1791,1821,1840,1845,1877,1908,1912,1958,1999,2040,2169,2195,2241,2324,2333,2349,2362,2429,2531,2596,2645,2786,2816,2974,3006,3015,3125,3135,3168,3234,3236,3244,3256,3271,3466,3478,3497,3514,3590,3705,3805,3893,3961,3990,4005,4020,4024,4037,4043,4048,4133,4173,4183,4327,4333,4365,4499,4504,4521,4585,4673,4847,4894,4962,4984,5032,5160,5218,5235,5272,5308,5360,5384,5399,5479,5504,5511,5563,5588,5675,5696,5742,5814,5831,5898,5908,5976,22,34,49,63,65,80,141,151,173,196,221,232,264,341,342,387,390,404,406,421,429,439,442,468,502,511,522,544,554,565,587,590,632,657,658,698,708,723,729,732,741,764,809,812,825,838,866,876,888,905,913,915,930,941,946,953,971,979,990,1001,1026,1041,1088,1116,1131,1169,1180,1186,1205,1230,1243,1260,1279,1289,1303,1328,1398,1403,1458,1539,1544,1555,1557,1561,1566,1576,1586,1588,1603,1615,1618,1620,1655,1662,1677,1686,1713,1716,1717,1721,1738,1742,1744,1747,1761,1794,1808,1826,1832,1842,1852,1857,1859,1863,1892,1897,1899,1955,1969,1971,2027,2067,2074,2076,2086,2128,2133,2148,2184,2220,2223,2228,2266,2278,2280,2296,2321,2328,2376,2387,2390,2396,2400,2427,2432,2435,2442,2447,2452,2474,2483,2513,2526,2536,2552,2573,2600,2615,2622,2623,2629,2632,2634,2635,2673,2681,2682,2728,2742,2748,2812,2833,2865,2867,2887,2905,2912,2926,2946,2968,2982,3014,3023,3092,3115,3134,3159,3174,3176,3184,3229,3250,3277,3282,3292,3329,3343,3348,3365,3371,3375,3403,3404,3411,3428,3449,3482,3494,3495,3499,3520,3539,3554,3581,3594,3608,3622,3653,3656,3669,3673,3677,3682,3683,3702,3703,3751,3808,3825,3846,3889,3890,3892,3894,3897,3908,3931,3950,3967,3974,3981,4016,4027,4068,4076,4077,4114,4117,4120,4126,4149,4168,4169,4172,4206,4221,4229,4250,4255,4263,4295,4306,4311,4330,4340,4348,4374,4381,4386,4389,4396,4418,4434,4441,4442,4448,4548,4549,4558,4559,4564,4579,4613,4617,4628,4643,4666,4681,4696,4723,4794,4801,4802,4826,4849,4860,4886,4940,4941,4943,4947,4985,5052,5079,5125,5195,5221,5266,5282,5286,5317,5318,5356,5357,5362,5376,5390,5398,5409,5471,5519,5524,5525,5533,5623,5626,5629,5645,5656,5664,5678,5684,5694,5701,5712,5729,5741,5771,5796,5821,5844,5850,5860,5878,5881,5890,5895,5901,5903,5907,5909,5933,5934,5952,154,333,430,457,559,600,609,618,715,724,786,827,850,916,954,996,1003,1018,1071,1153,1246,1307,1326,1380,1474,1510,1540,1549,1587,1658,1670,1671,1696,1701,1798,1834,1858,1878,1923,1938,1950,2179,2181,2208,2320,2337,2339,2344,2384,2473,2692,2702,2800,2897,2935,2939,2962,3200,3274,3308,3395,3427,3444,3529,3570,3639,3680,3699,3740,3783,3792,3811,3829,3912,3969,4014,4033,4057,4072,4079,4199,4253,4388,4394,4462,4464,4529,4591,4614,4719,4775,4791,4854,4864,4878,4919,4967,5058,5074,5099,5213,5385,5493,5526,5548,5560,5571,5593,5599,5608,5636,5723,5975,5982,24,32,51,115,153,160,166,254,318,431,612,751,780,940,986,1043,1048,1068,1072,1114,1161,1192,1311,1388,1397,1405,1443,1495,1595,1604,1681,1739,1890,1917,2050,2063,2073,2123,2152,2274,2308,2336,2370,2494,2520,2660,2668,2687,2782,2787,2852,2967,2985,3073,3318,3351,3383,3448,3479,3480,3542,3597,3605,3689,3701,3708,3819,3831,3882,3914,3948,3951,4035,4055,4153,4270,4294,4342,4477,4508,4520,4757,4796,4799,4938,4955,5005,5011,5016,5031,5096,5183,5205,5283,5290,5296,5327,5438,5459,5477,5558,5663,5794,5816,5875,5919,5958,5970,26,204,297,327,847,853,1139,1164,1502,1505,1613,1746,1784,1838,1994,2472,2518,2585,3121,3143,3362,3685,3716,3756,3828,3873,3900,3909,4051,4457,4584,4722,4727,4764,4928,5325,5412,5577,5634,5727,5774,5920,30,53,83,97,164,392,652,1083,1296,1358,1496,1547,1741,2055,2088,2132,2150,2176,2503,2690,2878,2892,2963,3095,3237,3338,3453,3600,3760,3771,3780,3859,4023,4198,4283,4619,4629,4630,4637,4707,4865,4887,4961,4991,5002,5253,5366,5446,5513,5569,5702,5833,5963,422,1121,1259,1756,2139,2630,3349,4012,4551,4661,4789,5162,5751,33,56,85,134,137,176,194,231,248,310,313,340,358,366,368,374,445,493,541,595,620,718,727,797,836,880,927,949,958,964,1056,1065,1120,1154,1155,1209,1237,1240,1257,1292,1297,1342,1445,1475,1515,1538,1590,1624,1632,1673,1704,1722,1779,1825,1856,1943,1944,1946,1956,1986,2001,2036,2053,2107,2156,2206,2250,2302,2318,2323,2346,2397,2431,2455,2490,2564,2580,2589,2652,2730,2745,2753,2801,2810,2849,2874,2921,3096,3103,3139,3151,3251,3313,3319,3321,3356,3420,3431,3465,3516,3584,3602,3617,3636,3645,3663,3695,3774,3823,3827,3861,3918,3982,4010,4054,4078,4103,4142,4286,4308,4346,4373,4382,4397,4410,4458,4502,4513,4530,4543,4547,4618,4639,4744,4753,4780,4815,4834,4898,4934,5004,5025,5056,5083,5112,5124,5167,5169,5261,5345,5377,5404,5433,5505,5507,5514,5517,5546,5574,5601,5616,5649,5657,5673,5688,5715,5740,5790,5797,5813,5896,110,985,2851,4212,5413,259,534,700,705,851,1234,1610,2258,2583,2876,2894,2917,3069,3238,3506,3589,3619,4150,4446,4640,4641,4654,4683,4686,4900,4989,5115,5246,5293,5319,5346,5386,5468,5489,5718,39,95,352,465,520,802,989,1045,1111,1375,1520,2145,2545,3142,5003,5400,5586,5822,5868,41,203,291,332,347,357,397,471,478,536,548,626,684,892,1022,1032,1073,1094,1422,1467,1488,1528,1558,1601,1636,1694,1695,1752,1781,1939,1951,1964,2062,2164,2426,2440,2486,2582,2711,2758,2879,3003,3079,3101,3164,3167,3221,3230,3410,3486,3491,3505,3522,3573,3592,3664,3710,3750,3757,3857,3883,3895,3971,3987,4053,4074,4100,4107,4123,4224,4230,4256,4261,4432,4461,4538,4634,4769,4913,5080,5179,5297,5472,5557,5610,5726,5832,5964,43,643,680,792,902,928,1273,2141,2422,2970,3086,3137,3462,3798,4921,5084,5349,5621,5922,50,79,114,121,167,224,260,270,309,384,408,475,477,482,500,505,527,594,596,605,628,664,674,675,690,691,835,944,995,1037,1058,1090,1123,1226,1227,1238,1287,1302,1333,1366,1379,1381,1383,1387,1580,1647,1680,1774,1896,1966,1981,2000,2011,2031,2084,2090,2198,2259,2270,2342,2358,2365,2421,2448,2495,2514,2548,2586,2616,2646,2659,2726,2821,2832,2839,2843,2907,2911,2957,2966,2969,2976,2984,3036,3050,3070,3080,3085,3105,3144,3149,3172,3177,3218,3225,3231,3283,3299,3384,3399,3415,3437,3475,3531,3550,3560,3576,3582,3679,3728,3734,3742,3773,3804,3817,3837,3870,3885,3936,3965,3972,4090,4207,4216,4419,4496,4500,4554,4555,4650,4745,4803,4806,4831,4846,4855,4974,4990,5042,5044,5075,5128,5156,5157,5204,5255,5268,5321,5407,5414,5491,5553,5565,5570,5604,5622,5653,5662,5745,5748,5763,5781,5782,5807,5849,5873,5874,5892,5960,75,90,91,230,290,377,454,531,576,584,619,647,650,707,736,748,766,788,845,848,865,895,961,978,1210,1236,1394,1482,1581,1641,1668,1706,1874,1926,2021,2037,2061,2097,2162,2191,2217,2235,2285,2348,2381,2399,2423,2444,2502,2541,2587,2590,2678,2744,2783,2862,2983,3004,3123,3179,3204,3228,3240,3391,3400,3408,3430,3473,3599,3675,3746,3761,3878,3888,3925,3941,3975,4039,4234,4300,4370,4417,4688,4777,4858,4880,4965,5009,5248,5309,5343,5419,5591,5642,5650,5690,5735,5738,60,135,138,146,148,321,350,395,497,517,670,710,755,765,806,820,875,932,948,991,1017,1030,1076,1113,1140,1194,1217,1233,1332,1372,1434,1454,1459,1473,1545,1582,1638,1743,1767,1792,1795,1864,1927,1948,1984,1991,2033,2039,2042,2052,2060,2100,2154,2173,2196,2297,2298,2338,2445,2591,2644,2771,2790,2890,2960,2975,2979,3033,3295,3316,3341,3372,3409,3492,3519,3521,3548,3718,3801,3830,3875,3899,3901,3940,4083,4092,4108,4202,4329,4363,4367,4378,4510,4523,4536,4626,4674,4695,4710,4905,4933,4946,5072,5147,5176,5177,5232,5264,5284,5391,5394,5427,5478,5749,5862,5972,5979,61,177,331,2299,3024,3124,4038,4483,4712,5523,5840,68,1847,3126,3141,3451,3461,3489,3660,4058,4061,4526,4728,4917,5260,69,174,262,308,355,556,560,720,863,921,1010,1187,1213,1255,1294,1298,1329,1344,1416,1550,1562,1723,1772,1800,1817,1819,1941,1962,2091,2111,2234,2373,2407,2509,2606,2675,2677,2784,2803,3066,3090,3152,3187,3198,3258,3260,3363,3432,3659,3715,3723,3866,4019,4056,4062,4157,4239,4302,4557,4773,4812,4918,4968,4976,4987,4996,5021,5040,5095,5097,5113,5132,5323,5418,5454,5554,5555,5613,5658,5689,5739,5897,5912,5927,428,452,728,3281,4401,5164,5262,133,158,210,295,298,314,320,329,364,379,412,535,549,610,617,630,679,823,860,970,1042,1053,1063,1069,1101,1117,1211,1223,1327,1355,1584,1685,1759,1770,1778,1796,1851,1961,2002,2007,2029,2085,2087,2115,2159,2163,2205,2229,2236,2246,2482,2492,2535,2542,2699,2755,2844,2861,2891,2906,2908,2932,2949,2952,2990,3017,3064,3072,3075,3194,3219,3325,3346,3422,3458,3509,3551,3566,3577,3598,3638,3681,3719,3730,3786,3799,3812,3896,3957,4042,4073,4143,4203,4262,4264,4322,4339,4344,4350,4451,4478,4492,4545,4605,4606,4607,4669,4700,4708,4720,4751,4754,4767,4827,4842,4867,4935,4978,5034,5077,5088,5098,5109,5149,5155,5193,5228,5301,5402,5425,5458,5530,5627,5716,5725,5743,5845,5857,5871,5925,5931,5943,96,1341,1645,1988,3518,4152,4514,5374,109,126,330,376,496,649,980,1135,1241,1271,1351,1516,1574,1642,1758,1771,1850,1903,1930,1952,2155,2263,2316,2401,2449,2603,2608,2886,2919,2927,3214,3452,3726,3768,3847,4006,4122,4193,4393,4633,4671,4698,4844,4870,4872,5023,5189,5233,5278,5289,5315,5646,5765,5835,5924,124,312,315,456,604,832,1077,1222,1585,2008,2071,2704,2931,3203,3263,3662,4252,4335,4409,4426,4992,5416,5869,127,351,532,1016,2319,3202,3776,3903,4026,4110,4318,5106,5165,5380,5968,129,1175,1419,1489,1763,2740,3930,5393,131,179,273,466,1384,2211,2314,2385,2441,2636,2791,2820,3102,3157,3583,3671,3880,3923,4104,4404,4407,4444,4729,4851,4932,4959,5022,5194,5229,5430,5552,2714,3810,4125,5426,5880,2109,2738,4431,193,235,287,296,301,338,839,1163,1526,1837,2146,2219,2283,2388,2569,2577,2693,2819,2884,3443,3919,3933,4223,4509,4578,4813,5064,5170,5182,5239,5463,5744,5783,663,947,1254,1631,1816,1827,3054,3992,4128,4298,4469,5007,5564,228,1499,1651,3013,3045,3108,3286,3867,5111,5590,5602,246,286,403,474,782,1151,1156,1453,1612,1925,1933,2077,2766,2773,2799,3188,3357,3886,3905,4066,4105,4222,4636,4758,4781,4825,4942,5210,5226,5411,5508,5887,5905,266,1323,1809,2126,3011,3501,3826,3996,5048,5118,5408,5937,274,443,598,686,799,807,1109,1231,1290,1485,1596,2332,2380,2402,2409,2524,2663,3388,3574,3832,4154,4366,4761,4912,4920,4922,5336,5337,5348,5572,5693,5973,360,634,906,984,2134,2837,3820,4678,5000,5006,5879,644,703,775,2209,2788,2789,4096,4421,4716,4859,4876,2417,3166,3601,4403,498,672,769,1177,1300,1462,2300,3201,3665,3697,4519,5217,5786,503,771,934,972,1330,1428,1486,1541,1556,1727,1753,2009,2129,2454,2779,2998,3217,3275,3749,3877,4098,4101,4430,4450,4759,4972,5073,5245,5298,5367,5487,5628,5812,5852,5914,539,4102,5917,542,908,1269,2043,2813,3314,3552,3579,4127,4603,4823,871,1679,3637,4733,699,735,1530,2412,2521,5798,734,1421,772,4412,5644,1084,4194,1389,2046,2575,3120,3468,4086,5521,2212,3315,4121,4853,3122,5683,5983,6019,6076,6186,6368,6402,6417,5994,5995,6002,6007,6022,6023,6033,6040,6041,6069,6072,6087,6098,6122,6138,6141,6158,6161,6170,6172,6177,6179,6218,6254,6258,6266,6267,6283,6307,6315,6321,6324,6340,6341,6358,6365,6381,6383,6394,6404,6415,6432,6442,6443,6445,6447,6451,6482,6488,6491,6512,6524,6530,6541,6573,6578,6592,6627,6629,6654,6655,6683,6689,6695,6697,6716,6718,6726,6737,6739,6766,6773,6775,6789,6794,6798,6821,6823,6825,6846,6857,6872,6881,6884,6885,6892,6901,6907,6911,6926,6928,6929,6934,5985,5991,6064,6425,5997,6050,6057,6092,6104,6136,6173,6204,6229,6255,6259,6306,6320,6438,6465,6536,6557,6575,6590,6636,6642,6668,6672,6729,6761,6796,6805,6818,6834,6838,6848,6899,6917,6931,5988,6001,6011,6024,6080,6242,6407,6430,6741,6777,6799,6913,6935,5989,6053,6055,6261,6431,6509,6558,6650,6691,6736,6853,6863,5990,6013,6031,6043,6060,6090,6100,6107,6112,6125,6137,6142,6153,6165,6181,6200,6203,6209,6210,6212,6216,6219,6221,6236,6269,6288,6362,6366,6373,6375,6377,6397,6398,6399,6403,6412,6416,6418,6421,6426,6439,6440,6459,6460,6467,6473,6476,6501,6504,6521,6525,6543,6548,6550,6570,6588,6593,6603,6605,6619,6620,6622,6633,6647,6663,6703,6710,6712,6719,6723,6742,6745,6749,6757,6808,6809,6811,6815,6817,6851,6920,6927,6238,6239,6296,6457,6688,6748,6762,6902,5993,6220,6277,6300,6311,6448,6782,5996,6117,6152,6251,6294,6318,6385,6594,6800,5999,6042,6067,6070,6094,6420,6759,6866,6871,6156,6178,6196,6217,6225,6240,6286,6349,6405,6469,6505,6511,6574,6640,6733,6783,6810,6813,6859,6898,6006,6017,6101,6121,6124,6198,6328,6332,6386,6391,6422,6450,6458,6471,6485,6531,6534,6561,6583,6604,6644,6656,6670,6700,6708,6709,6752,6774,6779,6908,6010,6029,6059,6086,6115,6116,6185,6201,6325,6390,6567,6924,6009,6034,6230,6313,6542,6572,6012,6180,6628,6014,6082,6089,6106,6114,6132,6228,6248,6268,6281,6326,6356,6360,6481,6497,6637,6785,6828,6830,6903,6039,6164,6265,6279,6369,6462,6526,6840,6016,6030,6071,6837,6860,6021,6048,6065,6074,6095,6096,6195,6199,6213,6355,6449,6519,6707,6715,6806,6870,6886,6027,6044,6118,6131,6154,6357,6464,6492,6600,6609,6618,6646,6681,6693,6743,6819,6850,6852,6873,6909,6287,6372,6765,6263,6051,6097,6215,6446,6466,6503,6671,6858,6151,6191,6235,6246,6342,6508,6577,6648,6769,6812,6839,6887,6893,6249,6584,6127,6414,6441,6523,6634,6744,6084,6119,6187,6345,6424,6428,6540,6676,6721,6738,6353,6193,6427,6571,6673,6714,6855,6224,6247,6498,6616,6826,6257,6767,6301,6444,6478,6589,6877,6348,6532,6551,6867,6406,6702,6641,6649,6725,6869) GROUP BY po.products_options_name, pov.products_options_values_name ORDER BY po.products_options_name, pov.products_options_values_sort_order]