FILE: /home/bitrix/ext_www/azbuka-techniki.ru/bitrix/modules/iblock/classes/mysql/iblockelement.php
LINE: 802
MySQL Query Error: SELECT BE.ID as ID,BE.IBLOCK_ID as IBLOCK_ID,BE.NAME as NAME,BE.DETAIL_PICTURE as DETAIL_PICTURE, FPV0.VALUE as PROPERTY_AVAILABILITY_MOSCOW_VALUE, FPV0.ID as PROPERTY_AVAILABILITY_MOSCOW_VALUE_ID, FPV1.VALUE as PROPERTY_AVAILABILITY_SANKT_PETERSBURG_VALUE, FPV1.ID as PROPERTY_AVAILABILITY_SANKT_PETERSBURG_VALUE_ID, FPV2.VALUE as PROPERTY_AVAILABILITY_NN_VALUE, FPV2.ID as PROPERTY_AVAILABILITY_NN_VALUE_ID, FPV3.VALUE as PROPERTY_AVAILABILITY_KAZAN_VALUE, FPV3.ID as PROPERTY_AVAILABILITY_KAZAN_VALUE_ID, FPV4.VALUE as PROPERTY_AVAILABILITY_KRASNODAR_VALUE, FPV4.ID as PROPERTY_AVAILABILITY_KRASNODAR_VALUE_ID, FPV5.VALUE as PROPERTY_AVAILABILITY_ROSTOV_ON_DON_VALUE, FPV5.ID as PROPERTY_AVAILABILITY_ROSTOV_ON_DON_VALUE_ID, FPV6.VALUE as PROPERTY_AVAILABILITY_YEKATERINBURG_VALUE, FPV6.ID as PROPERTY_AVAILABILITY_YEKATERINBURG_VALUE_ID, FPV7.VALUE as PROPERTY_AVAILABILITY_UFA_VALUE, FPV7.ID as PROPERTY_AVAILABILITY_UFA_VALUE_ID, FPV8.VALUE as PROPERTY_AVAILABILITY_YAROSLAVL_VALUE, FPV8.ID as PROPERTY_AVAILABILITY_YAROSLAVL_VALUE_ID, FPV9.VALUE as PROPERTY_AVAILABILITY_KOSTROMA_VALUE, FPV9.ID as PROPERTY_AVAILABILITY_KOSTROMA_VALUE_ID, FPV10.VALUE as PROPERTY_AVAILABILITY_IVANOVO_VALUE, FPV10.ID as PROPERTY_AVAILABILITY_IVANOVO_VALUE_ID, FPV11.VALUE as PROPERTY_AVAILABILITY_VLADIMIR_VALUE, FPV11.ID as PROPERTY_AVAILABILITY_VLADIMIR_VALUE_ID, FPV12.VALUE as PROPERTY_AVAILABILITY_RYAZAN_VALUE, FPV12.ID as PROPERTY_AVAILABILITY_RYAZAN_VALUE_ID, FPV13.VALUE as PROPERTY_AVAILABILITY_TULA_VALUE, FPV13.ID as PROPERTY_AVAILABILITY_TULA_VALUE_ID, FPV14.VALUE as PROPERTY_AVAILABILITY_KALUGA_VALUE, FPV14.ID as PROPERTY_AVAILABILITY_KALUGA_VALUE_ID, FPV15.VALUE as PROPERTY_AVAILABILITY_OBNINSK_VALUE, FPV15.ID as PROPERTY_AVAILABILITY_OBNINSK_VALUE_ID, FPV16.VALUE as PROPERTY_AVAILABILITY_VORONEZH_VALUE, FPV16.ID as PROPERTY_AVAILABILITY_VORONEZH_VALUE_ID, FPV17.VALUE as PROPERTY_AVAILABILITY_YOSHKAR_OLA_VALUE, FPV17.ID as PROPERTY_AVAILABILITY_YOSHKAR_OLA_VALUE_ID, FPV18.VALUE as PROPERTY_AVAILABILITY_CHEBOKSARY_VALUE, FPV18.ID as PROPERTY_AVAILABILITY_CHEBOKSARY_VALUE_ID, FPV19.VALUE as PROPERTY_AVAILABILITY_ALMETIEVSK_VALUE, FPV19.ID as PROPERTY_AVAILABILITY_ALMETIEVSK_VALUE_ID, FPV20.VALUE as PROPERTY_AVAILABILITY_NIZHNEKAMSK_VALUE, FPV20.ID as PROPERTY_AVAILABILITY_NIZHNEKAMSK_VALUE_ID, FPV21.VALUE as PROPERTY_AVAILABILITY_NOVOCHEBOKSARSK_VALUE, FPV21.ID as PROPERTY_AVAILABILITY_NOVOCHEBOKSARSK_VALUE_ID, FPV22.VALUE as PROPERTY_AVAILABILITY_NABEREZHNIE_CHELNY_VALUE, FPV22.ID as PROPERTY_AVAILABILITY_NABEREZHNIE_CHELNY_VALUE_ID, FPV23.VALUE as PROPERTY_AVAILABILITY_PERM_VALUE, FPV23.ID as PROPERTY_AVAILABILITY_PERM_VALUE_ID, FPV24.VALUE as PROPERTY_AVAILABILITY_SAMARA_VALUE, FPV24.ID as PROPERTY_AVAILABILITY_SAMARA_VALUE_ID, FPV25.VALUE as PROPERTY_AVAILABILITY_NOVOCHERKASSK_VALUE, FPV25.ID as PROPERTY_AVAILABILITY_NOVOCHERKASSK_VALUE_ID, FPV26.VALUE as PROPERTY_AVAILABILITY_NOVOSHAKHTINSK_VALUE, FPV26.ID as PROPERTY_AVAILABILITY_NOVOSHAKHTINSK_VALUE_ID, FPV27.VALUE as PROPERTY_AVAILABILITY_TAGANROG_VALUE, FPV27.ID as PROPERTY_AVAILABILITY_TAGANROG_VALUE_ID, FPV28.VALUE as PROPERTY_AVAILABILITY_SMOLENSK_VALUE, FPV28.ID as PROPERTY_AVAILABILITY_SMOLENSK_VALUE_ID, FPV29.VALUE as PROPERTY_AVAILABILITY_ROSLAVL_VALUE, FPV29.ID as PROPERTY_AVAILABILITY_ROSLAVL_VALUE_ID, FPV30.VALUE as PROPERTY_AVAILABILITY_BRYANSK_VALUE, FPV30.ID as PROPERTY_AVAILABILITY_BRYANSK_VALUE_ID, FPV31.VALUE as PROPERTY_AVAILABILITY_OREL_VALUE, FPV31.ID as PROPERTY_AVAILABILITY_OREL_VALUE_ID, FPV32.VALUE as PROPERTY_AVAILABILITY_SHAKHTY_VALUE, FPV32.ID as PROPERTY_AVAILABILITY_SHAKHTY_VALUE_ID, FPV33.VALUE as PROPERTY_AVAILABILITY_TVER_VALUE, FPV33.ID as PROPERTY_AVAILABILITY_TVER_VALUE_ID, FPV34.VALUE as PROPERTY_AVAILABILITY_VELIKIY_NOVGOROD_VALUE, FPV34.ID as PROPERTY_AVAILABILITY_VELIKIY_NOVGOROD_VALUE_ID, FPV35.VALUE as PROPERTY_AVAILABILITY_VISCHIY_VOLOCHEK_VALUE, FPV35.ID as PROPERTY_AVAILABILITY_VISCHIY_VOLOCHEK_VALUE_ID, FPV36.VALUE as PROPERTY_AVAILABILITY_RYBINSK_VALUE, FPV36.ID as PROPERTY_AVAILABILITY_RYBINSK_VALUE_ID, FPV37.VALUE as PROPERTY_AVAILABILITY_VOLOGDA_VALUE, FPV37.ID as PROPERTY_AVAILABILITY_VOLOGDA_VALUE_ID, FPV38.VALUE as PROPERTY_AVAILABILITY_CHEREPOVETS_VALUE, FPV38.ID as PROPERTY_AVAILABILITY_CHEREPOVETS_VALUE_ID, FPV39.VALUE as PROPERTY_AVAILABILITY_TAMBOV_VALUE, FPV39.ID as PROPERTY_AVAILABILITY_TAMBOV_VALUE_ID, FPV40.VALUE as PROPERTY_AVAILABILITY_ELETS_VALUE, FPV40.ID as PROPERTY_AVAILABILITY_ELETS_VALUE_ID, FPV41.VALUE as PROPERTY_AVAILABILITY_LIPETSK_VALUE, FPV41.ID as PROPERTY_AVAILABILITY_LIPETSK_VALUE_ID, FPV42.VALUE as PROPERTY_AVAILABILITY_KURSK_VALUE, FPV42.ID as PROPERTY_AVAILABILITY_KURSK_VALUE_ID, FPV43.VALUE as PROPERTY_AVAILABILITY_BELGOROD_VALUE, FPV43.ID as PROPERTY_AVAILABILITY_BELGOROD_VALUE_ID, FPV44.VALUE as PROPERTY_AVAILABILITY_STARIY_OSKOL_VALUE, FPV44.ID as PROPERTY_AVAILABILITY_STARIY_OSKOL_VALUE_ID, FPV45.VALUE as PROPERTY_AVAILABILITY_VYAZMA_VALUE, FPV45.ID as PROPERTY_AVAILABILITY_VYAZMA_VALUE_ID, FPV46.VALUE as PROPERTY_AVAILABILITY_CHELIABINSK_VALUE, FPV46.ID as PROPERTY_AVAILABILITY_CHELIABINSK_VALUE_ID , WHS_2.AMOUNT as STORE_AMOUNT_2, PRC_21.PRICE as PRICE_21, WHS_30.AMOUNT as STORE_AMOUNT_30, PRC_15.PRICE as PRICE_15, WHS_9.AMOUNT as STORE_AMOUNT_9, PRC_16.PRICE as PRICE_16, WHS_10.AMOUNT as STORE_AMOUNT_10, PRC_17.PRICE as PRICE_17, WHS_11.AMOUNT as STORE_AMOUNT_11, PRC_19.PRICE as PRICE_19, WHS_13.AMOUNT as STORE_AMOUNT_13, PRC_18.PRICE as PRICE_18, WHS_12.AMOUNT as STORE_AMOUNT_12, PRC_20.PRICE as PRICE_20, WHS_25.AMOUNT as STORE_AMOUNT_25, PRC_22.PRICE as PRICE_22, WHS_26.AMOUNT as STORE_AMOUNT_26, PRC_23.PRICE as PRICE_23, WHS_27.AMOUNT as STORE_AMOUNT_27, PRC_24.PRICE as PRICE_24, WHS_28.AMOUNT as STORE_AMOUNT_28, PRC_26.PRICE as PRICE_26, WHS_29.AMOUNT as STORE_AMOUNT_29, PRC_25.PRICE as PRICE_25, WHS_31.AMOUNT as STORE_AMOUNT_31, PRC_27.PRICE as PRICE_27, WHS_32.AMOUNT as STORE_AMOUNT_32, PRC_28.PRICE as PRICE_28, WHS_33.AMOUNT as STORE_AMOUNT_33, PRC_29.PRICE as PRICE_29, WHS_34.AMOUNT as STORE_AMOUNT_34, PRC_30.PRICE as PRICE_30, WHS_35.AMOUNT as STORE_AMOUNT_35, PRC_31.PRICE as PRICE_31, WHS_36.AMOUNT as STORE_AMOUNT_36, PRC_32.PRICE as PRICE_32, WHS_37.AMOUNT as STORE_AMOUNT_37, PRC_33.PRICE as PRICE_33, WHS_40.AMOUNT as STORE_AMOUNT_40, PRC_36.PRICE as PRICE_36, WHS_38.AMOUNT as STORE_AMOUNT_38, PRC_34.PRICE as PRICE_34, WHS_41.AMOUNT as STORE_AMOUNT_41, PRC_37.PRICE as PRICE_37, WHS_39.AMOUNT as STORE_AMOUNT_39, PRC_35.PRICE as PRICE_35, WHS_42.AMOUNT as STORE_AMOUNT_42, PRC_38.PRICE as PRICE_38, WHS_43.AMOUNT as STORE_AMOUNT_43, PRC_39.PRICE as PRICE_39, PRC_41.PRICE as PRICE_41, PRC_42.PRICE as PRICE_42, WHS_47.AMOUNT as STORE_AMOUNT_47, WHS_48.AMOUNT as STORE_AMOUNT_48, PRC_44.PRICE as PRICE_44, WHS_49.AMOUNT as STORE_AMOUNT_49, PRC_45.PRICE as PRICE_45, WHS_50.AMOUNT as STORE_AMOUNT_50, PRC_46.PRICE as PRICE_46, WHS_51.AMOUNT as STORE_AMOUNT_51, PRC_48.PRICE as PRICE_48, WHS_53.AMOUNT as STORE_AMOUNT_53, WHS_54.AMOUNT as STORE_AMOUNT_54, WHS_55.AMOUNT as STORE_AMOUNT_55, WHS_56.AMOUNT as STORE_AMOUNT_56, WHS_57.AMOUNT as STORE_AMOUNT_57, WHS_58.AMOUNT as STORE_AMOUNT_58, WHS_59.AMOUNT as STORE_AMOUNT_59, WHS_60.AMOUNT as STORE_AMOUNT_60, WHS_61.AMOUNT as STORE_AMOUNT_61, WHS_62.AMOUNT as STORE_AMOUNT_62, WHS_63.AMOUNT as STORE_AMOUNT_63, WHS_64.AMOUNT as STORE_AMOUNT_64, WHS_65.AMOUNT as STORE_AMOUNT_65, PRC_62.PRICE as PRICE_62, WHS_67.AMOUNT as STORE_AMOUNT_67, PRC_64.PRICE as PRICE_64 FROM b_iblock B INNER JOIN b_lang L ON B.LID=L.LID INNER JOIN b_iblock_element BE ON BE.IBLOCK_ID = B.ID LEFT JOIN b_iblock_property FP0 ON FP0.IBLOCK_ID = B.ID AND FP0.CODE='AVAILABILITY_MOSCOW' LEFT JOIN b_iblock_property FP1 ON FP1.IBLOCK_ID = B.ID AND FP1.CODE='AVAILABILITY_SANKT_PETERSBURG' LEFT JOIN b_iblock_property FP2 ON FP2.IBLOCK_ID = B.ID AND FP2.CODE='AVAILABILITY_NN' LEFT JOIN b_iblock_property FP3 ON FP3.IBLOCK_ID = B.ID AND FP3.CODE='AVAILABILITY_KAZAN' LEFT JOIN b_iblock_property FP4 ON FP4.IBLOCK_ID = B.ID AND FP4.CODE='AVAILABILITY_KRASNODAR' LEFT JOIN b_iblock_property FP5 ON FP5.IBLOCK_ID = B.ID AND FP5.CODE='AVAILABILITY_ROSTOV_ON_DON' LEFT JOIN b_iblock_property FP6 ON FP6.IBLOCK_ID = B.ID AND FP6.CODE='AVAILABILITY_YEKATERINBURG' LEFT JOIN b_iblock_property FP7 ON FP7.IBLOCK_ID = B.ID AND FP7.CODE='AVAILABILITY_UFA' LEFT JOIN b_iblock_property FP8 ON FP8.IBLOCK_ID = B.ID AND FP8.CODE='AVAILABILITY_YAROSLAVL' LEFT JOIN b_iblock_property FP9 ON FP9.IBLOCK_ID = B.ID AND FP9.CODE='AVAILABILITY_KOSTROMA' LEFT JOIN b_iblock_property FP10 ON FP10.IBLOCK_ID = B.ID AND FP10.CODE='AVAILABILITY_IVANOVO' LEFT JOIN b_iblock_property FP11 ON FP11.IBLOCK_ID = B.ID AND FP11.CODE='AVAILABILITY_VLADIMIR' LEFT JOIN b_iblock_property FP12 ON FP12.IBLOCK_ID = B.ID AND FP12.CODE='AVAILABILITY_RYAZAN' LEFT JOIN b_iblock_property FP13 ON FP13.IBLOCK_ID = B.ID AND FP13.CODE='AVAILABILITY_TULA' LEFT JOIN b_iblock_property FP14 ON FP14.IBLOCK_ID = B.ID AND FP14.CODE='AVAILABILITY_KALUGA' LEFT JOIN b_iblock_property FP15 ON FP15.IBLOCK_ID = B.ID AND FP15.CODE='AVAILABILITY_OBNINSK' LEFT JOIN b_iblock_property FP16 ON FP16.IBLOCK_ID = B.ID AND FP16.CODE='AVAILABILITY_VORONEZH' LEFT JOIN b_iblock_property FP17 ON FP17.IBLOCK_ID = B.ID AND FP17.CODE='AVAILABILITY_YOSHKAR_OLA' LEFT JOIN b_iblock_property FP18 ON FP18.IBLOCK_ID = B.ID AND FP18.CODE='AVAILABILITY_CHEBOKSARY' LEFT JOIN b_iblock_property FP19 ON FP19.IBLOCK_ID = B.ID AND FP19.CODE='AVAILABILITY_ALMETIEVSK' LEFT JOIN b_iblock_property FP20 ON FP20.IBLOCK_ID = B.ID AND FP20.CODE='AVAILABILITY_NIZHNEKAMSK' LEFT JOIN b_iblock_property FP21 ON FP21.IBLOCK_ID = B.ID AND FP21.CODE='AVAILABILITY_NOVOCHEBOKSARSK' LEFT JOIN b_iblock_property FP22 ON FP22.IBLOCK_ID = B.ID AND FP22.CODE='AVAILABILITY_NABEREZHNIE_CHELNY' LEFT JOIN b_iblock_property FP23 ON FP23.IBLOCK_ID = B.ID AND FP23.CODE='AVAILABILITY_PERM' LEFT JOIN b_iblock_property FP24 ON FP24.IBLOCK_ID = B.ID AND FP24.CODE='AVAILABILITY_SAMARA' LEFT JOIN b_iblock_property FP25 ON FP25.IBLOCK_ID = B.ID AND FP25.CODE='AVAILABILITY_NOVOCHERKASSK' LEFT JOIN b_iblock_property FP26 ON FP26.IBLOCK_ID = B.ID AND FP26.CODE='AVAILABILITY_NOVOSHAKHTINSK' LEFT JOIN b_iblock_property FP27 ON FP27.IBLOCK_ID = B.ID AND FP27.CODE='AVAILABILITY_TAGANROG' LEFT JOIN b_iblock_property FP28 ON FP28.IBLOCK_ID = B.ID AND FP28.CODE='AVAILABILITY_SMOLENSK' LEFT JOIN b_iblock_property FP29 ON FP29.IBLOCK_ID = B.ID AND FP29.CODE='AVAILABILITY_ROSLAVL' LEFT JOIN b_iblock_property FP30 ON FP30.IBLOCK_ID = B.ID AND FP30.CODE='AVAILABILITY_BRYANSK' LEFT JOIN b_iblock_property FP31 ON FP31.IBLOCK_ID = B.ID AND FP31.CODE='AVAILABILITY_OREL' LEFT JOIN b_iblock_property FP32 ON FP32.IBLOCK_ID = B.ID AND FP32.CODE='AVAILABILITY_SHAKHTY' LEFT JOIN b_iblock_property FP33 ON FP33.IBLOCK_ID = B.ID AND FP33.CODE='AVAILABILITY_TVER' LEFT JOIN b_iblock_property FP34 ON FP34.IBLOCK_ID = B.ID AND FP34.CODE='AVAILABILITY_VELIKIY_NOVGOROD' LEFT JOIN b_iblock_property FP35 ON FP35.IBLOCK_ID = B.ID AND FP35.CODE='AVAILABILITY_VISCHIY_VOLOCHEK' LEFT JOIN b_iblock_property FP36 ON FP36.IBLOCK_ID = B.ID AND FP36.CODE='AVAILABILITY_RYBINSK' LEFT JOIN b_iblock_property FP37 ON FP37.IBLOCK_ID = B.ID AND FP37.CODE='AVAILABILITY_VOLOGDA' LEFT JOIN b_iblock_property FP38 ON FP38.IBLOCK_ID = B.ID AND FP38.CODE='AVAILABILITY_CHEREPOVETS' LEFT JOIN b_iblock_property FP39 ON FP39.IBLOCK_ID = B.ID AND FP39.CODE='AVAILABILITY_TAMBOV' LEFT JOIN b_iblock_property FP40 ON FP40.IBLOCK_ID = B.ID AND FP40.CODE='AVAILABILITY_ELETS' LEFT JOIN b_iblock_property FP41 ON FP41.IBLOCK_ID = B.ID AND FP41.CODE='AVAILABILITY_LIPETSK' LEFT JOIN b_iblock_property FP42 ON FP42.IBLOCK_ID = B.ID AND FP42.CODE='AVAILABILITY_KURSK' LEFT JOIN b_iblock_property FP43 ON FP43.IBLOCK_ID = B.ID AND FP43.CODE='AVAILABILITY_BELGOROD' LEFT JOIN b_iblock_property FP44 ON FP44.IBLOCK_ID = B.ID AND FP44.CODE='AVAILABILITY_STARIY_OSKOL' LEFT JOIN b_iblock_property FP45 ON FP45.IBLOCK_ID = B.ID AND FP45.CODE='AVAILABILITY_VYAZMA' LEFT JOIN b_iblock_property FP46 ON FP46.IBLOCK_ID = B.ID AND FP46.CODE='AVAILABILITY_CHELIABINSK' LEFT JOIN b_iblock_element_property FPV0 ON FPV0.IBLOCK_PROPERTY_ID = FP0.ID AND FPV0.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV1 ON FPV1.IBLOCK_PROPERTY_ID = FP1.ID AND FPV1.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV2 ON FPV2.IBLOCK_PROPERTY_ID = FP2.ID AND FPV2.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV3 ON FPV3.IBLOCK_PROPERTY_ID = FP3.ID AND FPV3.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV4 ON FPV4.IBLOCK_PROPERTY_ID = FP4.ID AND FPV4.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV5 ON FPV5.IBLOCK_PROPERTY_ID = FP5.ID AND FPV5.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV6 ON FPV6.IBLOCK_PROPERTY_ID = FP6.ID AND FPV6.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV7 ON FPV7.IBLOCK_PROPERTY_ID = FP7.ID AND FPV7.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV8 ON FPV8.IBLOCK_PROPERTY_ID = FP8.ID AND FPV8.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV9 ON FPV9.IBLOCK_PROPERTY_ID = FP9.ID AND FPV9.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV10 ON FPV10.IBLOCK_PROPERTY_ID = FP10.ID AND FPV10.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV11 ON FPV11.IBLOCK_PROPERTY_ID = FP11.ID AND FPV11.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV12 ON FPV12.IBLOCK_PROPERTY_ID = FP12.ID AND FPV12.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV13 ON FPV13.IBLOCK_PROPERTY_ID = FP13.ID AND FPV13.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV14 ON FPV14.IBLOCK_PROPERTY_ID = FP14.ID AND FPV14.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV15 ON FPV15.IBLOCK_PROPERTY_ID = FP15.ID AND FPV15.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV16 ON FPV16.IBLOCK_PROPERTY_ID = FP16.ID AND FPV16.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV17 ON FPV17.IBLOCK_PROPERTY_ID = FP17.ID AND FPV17.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV18 ON FPV18.IBLOCK_PROPERTY_ID = FP18.ID AND FPV18.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV19 ON FPV19.IBLOCK_PROPERTY_ID = FP19.ID AND FPV19.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV20 ON FPV20.IBLOCK_PROPERTY_ID = FP20.ID AND FPV20.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV21 ON FPV21.IBLOCK_PROPERTY_ID = FP21.ID AND FPV21.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV22 ON FPV22.IBLOCK_PROPERTY_ID = FP22.ID AND FPV22.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV23 ON FPV23.IBLOCK_PROPERTY_ID = FP23.ID AND FPV23.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV24 ON FPV24.IBLOCK_PROPERTY_ID = FP24.ID AND FPV24.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV25 ON FPV25.IBLOCK_PROPERTY_ID = FP25.ID AND FPV25.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV26 ON FPV26.IBLOCK_PROPERTY_ID = FP26.ID AND FPV26.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV27 ON FPV27.IBLOCK_PROPERTY_ID = FP27.ID AND FPV27.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV28 ON FPV28.IBLOCK_PROPERTY_ID = FP28.ID AND FPV28.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV29 ON FPV29.IBLOCK_PROPERTY_ID = FP29.ID AND FPV29.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV30 ON FPV30.IBLOCK_PROPERTY_ID = FP30.ID AND FPV30.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV31 ON FPV31.IBLOCK_PROPERTY_ID = FP31.ID AND FPV31.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV32 ON FPV32.IBLOCK_PROPERTY_ID = FP32.ID AND FPV32.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV33 ON FPV33.IBLOCK_PROPERTY_ID = FP33.ID AND FPV33.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV34 ON FPV34.IBLOCK_PROPERTY_ID = FP34.ID AND FPV34.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV35 ON FPV35.IBLOCK_PROPERTY_ID = FP35.ID AND FPV35.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV36 ON FPV36.IBLOCK_PROPERTY_ID = FP36.ID AND FPV36.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV37 ON FPV37.IBLOCK_PROPERTY_ID = FP37.ID AND FPV37.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV38 ON FPV38.IBLOCK_PROPERTY_ID = FP38.ID AND FPV38.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV39 ON FPV39.IBLOCK_PROPERTY_ID = FP39.ID AND FPV39.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV40 ON FPV40.IBLOCK_PROPERTY_ID = FP40.ID AND FPV40.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV41 ON FPV41.IBLOCK_PROPERTY_ID = FP41.ID AND FPV41.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV42 ON FPV42.IBLOCK_PROPERTY_ID = FP42.ID AND FPV42.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV43 ON FPV43.IBLOCK_PROPERTY_ID = FP43.ID AND FPV43.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV44 ON FPV44.IBLOCK_PROPERTY_ID = FP44.ID AND FPV44.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV45 ON FPV45.IBLOCK_PROPERTY_ID = FP45.ID AND FPV45.IBLOCK_ELEMENT_ID = BE.ID LEFT JOIN b_iblock_element_property FPV46 ON FPV46.IBLOCK_PROPERTY_ID = FP46.ID AND FPV46.IBLOCK_ELEMENT_ID = BE.ID left join b_catalog_store_product as WHS_2 on (WHS_2.PRODUCT_ID = BE.ID and WHS_2.STORE_ID = 2) left join b_catalog_price as PRC_21 on (PRC_21.PRODUCT_ID = BE.ID and PRC_21.CATALOG_GROUP_ID = 21) left join b_catalog_store_product as WHS_30 on (WHS_30.PRODUCT_ID = BE.ID and WHS_30.STORE_ID = 30) left join b_catalog_price as PRC_15 on (PRC_15.PRODUCT_ID = BE.ID and PRC_15.CATALOG_GROUP_ID = 15) left join b_catalog_store_product as WHS_9 on (WHS_9.PRODUCT_ID = BE.ID and WHS_9.STORE_ID = 9) left join b_catalog_price as PRC_16 on (PRC_16.PRODUCT_ID = BE.ID and PRC_16.CATALOG_GROUP_ID = 16) left join b_catalog_store_product as WHS_10 on (WHS_10.PRODUCT_ID = BE.ID and WHS_10.STORE_ID = 10) left join b_catalog_price as PRC_17 on (PRC_17.PRODUCT_ID = BE.ID and PRC_17.CATALOG_GROUP_ID = 17) left join b_catalog_store_product as WHS_11 on (WHS_11.PRODUCT_ID = BE.ID and WHS_11.STORE_ID = 11) left join b_catalog_price as PRC_19 on (PRC_19.PRODUCT_ID = BE.ID and PRC_19.CATALOG_GROUP_ID = 19) left join b_catalog_store_product as WHS_13 on (WHS_13.PRODUCT_ID = BE.ID and WHS_13.STORE_ID = 13) left join b_catalog_price as PRC_18 on (PRC_18.PRODUCT_ID = BE.ID and PRC_18.CATALOG_GROUP_ID = 18) left join b_catalog_store_product as WHS_12 on (WHS_12.PRODUCT_ID = BE.ID and WHS_12.STORE_ID = 12) left join b_catalog_price as PRC_20 on (PRC_20.PRODUCT_ID = BE.ID and PRC_20.CATALOG_GROUP_ID = 20) left join b_catalog_store_product as WHS_25 on (WHS_25.PRODUCT_ID = BE.ID and WHS_25.STORE_ID = 25) left join b_catalog_price as PRC_22 on (PRC_22.PRODUCT_ID = BE.ID and PRC_22.CATALOG_GROUP_ID = 22) left join b_catalog_store_product as WHS_26 on (WHS_26.PRODUCT_ID = BE.ID and WHS_26.STORE_ID = 26) left join b_catalog_price as PRC_23 on (PRC_23.PRODUCT_ID = BE.ID and PRC_23.CATALOG_GROUP_ID = 23) left join b_catalog_store_product as WHS_27 on (WHS_27.PRODUCT_ID = BE.ID and WHS_27.STORE_ID = 27) left join b_catalog_price as PRC_24 on (PRC_24.PRODUCT_ID = BE.ID and PRC_24.CATALOG_GROUP_ID = 24) left join b_catalog_store_product as WHS_28 on (WHS_28.PRODUCT_ID = BE.ID and WHS_28.STORE_ID = 28) left join b_catalog_price as PRC_26 on (PRC_26.PRODUCT_ID = BE.ID and PRC_26.CATALOG_GROUP_ID = 26) left join b_catalog_store_product as WHS_29 on (WHS_29.PRODUCT_ID = BE.ID and WHS_29.STORE_ID = 29) left join b_catalog_price as PRC_25 on (PRC_25.PRODUCT_ID = BE.ID and PRC_25.CATALOG_GROUP_ID = 25) left join b_catalog_store_product as WHS_31 on (WHS_31.PRODUCT_ID = BE.ID and WHS_31.STORE_ID = 31) left join b_catalog_price as PRC_27 on (PRC_27.PRODUCT_ID = BE.ID and PRC_27.CATALOG_GROUP_ID = 27) left join b_catalog_store_product as WHS_32 on (WHS_32.PRODUCT_ID = BE.ID and WHS_32.STORE_ID = 32) left join b_catalog_price as PRC_28 on (PRC_28.PRODUCT_ID = BE.ID and PRC_28.CATALOG_GROUP_ID = 28) left join b_catalog_store_product as WHS_33 on (WHS_33.PRODUCT_ID = BE.ID and WHS_33.STORE_ID = 33) left join b_catalog_price as PRC_29 on (PRC_29.PRODUCT_ID = BE.ID and PRC_29.CATALOG_GROUP_ID = 29) left join b_catalog_store_product as WHS_34 on (WHS_34.PRODUCT_ID = BE.ID and WHS_34.STORE_ID = 34) left join b_catalog_price as PRC_30 on (PRC_30.PRODUCT_ID = BE.ID and PRC_30.CATALOG_GROUP_ID = 30) left join b_catalog_store_product as WHS_35 on (WHS_35.PRODUCT_ID = BE.ID and WHS_35.STORE_ID = 35) left join b_catalog_price as PRC_31 on (PRC_31.PRODUCT_ID = BE.ID and PRC_31.CATALOG_GROUP_ID = 31) left join b_catalog_store_product as WHS_36 on (WHS_36.PRODUCT_ID = BE.ID and WHS_36.STORE_ID = 36) left join b_catalog_price as PRC_32 on (PRC_32.PRODUCT_ID = BE.ID and PRC_32.CATALOG_GROUP_ID = 32) left join b_catalog_store_product as WHS_37 on (WHS_37.PRODUCT_ID = BE.ID and WHS_37.STORE_ID = 37) left join b_catalog_price as PRC_33 on (PRC_33.PRODUCT_ID = BE.ID and PRC_33.CATALOG_GROUP_ID = 33) left join b_catalog_store_product as WHS_40 on (WHS_40.PRODUCT_ID = BE.ID and WHS_40.STORE_ID = 40) left join b_catalog_price as PRC_36 on (PRC_36.PRODUCT_ID = BE.ID and PRC_36.CATALOG_GROUP_ID = 36) left join b_catalog_store_product as WHS_38 on (WHS_38.PRODUCT_ID = BE.ID and WHS_38.STORE_ID = 38) left join b_catalog_price as PRC_34 on (PRC_34.PRODUCT_ID = BE.ID and PRC_34.CATALOG_GROUP_ID = 34) left join b_catalog_store_product as WHS_41 on (WHS_41.PRODUCT_ID = BE.ID and WHS_41.STORE_ID = 41) left join b_catalog_price as PRC_37 on (PRC_37.PRODUCT_ID = BE.ID and PRC_37.CATALOG_GROUP_ID = 37) left join b_catalog_store_product as WHS_39 on (WHS_39.PRODUCT_ID = BE.ID and WHS_39.STORE_ID = 39) left join b_catalog_price as PRC_35 on (PRC_35.PRODUCT_ID = BE.ID and PRC_35.CATALOG_GROUP_ID = 35) left join b_catalog_store_product as WHS_42 on (WHS_42.PRODUCT_ID = BE.ID and WHS_42.STORE_ID = 42) left join b_catalog_price as PRC_38 on (PRC_38.PRODUCT_ID = BE.ID and PRC_38.CATALOG_GROUP_ID = 38) left join b_catalog_store_product as WHS_43 on (WHS_43.PRODUCT_ID = BE.ID and WHS_43.STORE_ID = 43) left join b_catalog_price as PRC_39 on (PRC_39.PRODUCT_ID = BE.ID and PRC_39.CATALOG_GROUP_ID = 39) left join b_catalog_price as PRC_41 on (PRC_41.PRODUCT_ID = BE.ID and PRC_41.CATALOG_GROUP_ID = 41) left join b_catalog_price as PRC_42 on (PRC_42.PRODUCT_ID = BE.ID and PRC_42.CATALOG_GROUP_ID = 42) left join b_catalog_store_product as WHS_47 on (WHS_47.PRODUCT_ID = BE.ID and WHS_47.STORE_ID = 47) left join b_catalog_store_product as WHS_48 on (WHS_48.PRODUCT_ID = BE.ID and WHS_48.STORE_ID = 48) left join b_catalog_price as PRC_44 on (PRC_44.PRODUCT_ID = BE.ID and PRC_44.CATALOG_GROUP_ID = 44) left join b_catalog_store_product as WHS_49 on (WHS_49.PRODUCT_ID = BE.ID and WHS_49.STORE_ID = 49) left join b_catalog_price as PRC_45 on (PRC_45.PRODUCT_ID = BE.ID and PRC_45.CATALOG_GROUP_ID = 45) left join b_catalog_store_product as WHS_50 on (WHS_50.PRODUCT_ID = BE.ID and WHS_50.STORE_ID = 50) left join b_catalog_price as PRC_46 on (PRC_46.PRODUCT_ID = BE.ID and PRC_46.CATALOG_GROUP_ID = 46) left join b_catalog_store_product as WHS_51 on (WHS_51.PRODUCT_ID = BE.ID and WHS_51.STORE_ID = 51) left join b_catalog_price as PRC_48 on (PRC_48.PRODUCT_ID = BE.ID and PRC_48.CATALOG_GROUP_ID = 48) left join b_catalog_store_product as WHS_53 on (WHS_53.PRODUCT_ID = BE.ID and WHS_53.STORE_ID = 53) left join b_catalog_store_product as WHS_54 on (WHS_54.PRODUCT_ID = BE.ID and WHS_54.STORE_ID = 54) left join b_catalog_store_product as WHS_55 on (WHS_55.PRODUCT_ID = BE.ID and WHS_55.STORE_ID = 55) left join b_catalog_store_product as WHS_56 on (WHS_56.PRODUCT_ID = BE.ID and WHS_56.STORE_ID = 56) left join b_catalog_store_product as WHS_57 on (WHS_57.PRODUCT_ID = BE.ID and WHS_57.STORE_ID = 57) left join b_catalog_store_product as WHS_58 on (WHS_58.PRODUCT_ID = BE.ID and WHS_58.STORE_ID = 58) left join b_catalog_store_product as WHS_59 on (WHS_59.PRODUCT_ID = BE.ID and WHS_59.STORE_ID = 59) left join b_catalog_store_product as WHS_60 on (WHS_60.PRODUCT_ID = BE.ID and WHS_60.STORE_ID = 60) left join b_catalog_store_product as WHS_61 on (WHS_61.PRODUCT_ID = BE.ID and WHS_61.STORE_ID = 61) left join b_catalog_store_product as WHS_62 on (WHS_62.PRODUCT_ID = BE.ID and WHS_62.STORE_ID = 62) left join b_catalog_store_product as WHS_63 on (WHS_63.PRODUCT_ID = BE.ID and WHS_63.STORE_ID = 63) left join b_catalog_store_product as WHS_64 on (WHS_64.PRODUCT_ID = BE.ID and WHS_64.STORE_ID = 64) left join b_catalog_store_product as WHS_65 on (WHS_65.PRODUCT_ID = BE.ID and WHS_65.STORE_ID = 65) left join b_catalog_price as PRC_62 on (PRC_62.PRODUCT_ID = BE.ID and PRC_62.CATALOG_GROUP_ID = 62) left join b_catalog_store_product as WHS_67 on (WHS_67.PRODUCT_ID = BE.ID and WHS_67.STORE_ID = 67) left join b_catalog_price as PRC_64 on (PRC_64.PRODUCT_ID = BE.ID and PRC_64.CATALOG_GROUP_ID = 64) WHERE 1=1 AND ( ((((BE.IBLOCK_ID = '1')))) AND ((((BE.ACTIVE='Y')))) ) AND (((BE.WF_STATUS_ID=1 AND BE.WF_PARENT_ELEMENT_ID IS NULL))) [[1116] Too many tables; MySQL can only use 61 tables in a join]

DB query error.
Please try later.