3
1.36 ms
SELECT a . id as group_id , a . code , a . name_ru , a . name_de , a . sort ,
a . is_metric , a . is_deeplink , a . is_filterable , a . use_deeplink_code ,
a . group_sort , a . group_name_ru , a . group_name_de ,
av . uid as value_id , av . name_ru as value_ru , av . name_de as value_de
FROM attribute_value AS av
JOIN attribute AS a on a . code = av . code
WHERE av . uid IN ('art_56799' , 'art_56801' , 'family_152' , 'materialgruppierung_1525' , 'vendor_1411' , 'verwendungszweck_42011' , 'serie_53972' , 'verpackung_3948' , 'materialgruppierung_2062' , 'materialgruppierung_1524' , 'materialgruppierung_25881' , 'materialgruppierung_1520' , 'materialgruppierung_1523' , 'netto_gewicht_filter_10' , 'volumen_2084' , 'herdarten_2765' , 'herdarten_2975' , 'materialgruppierung_1535' , 'netto_gewicht_filter_12' , 'hoehe_3095' , 'volumen_36483' , 'volumen_5155' , 'cauldron_weight_with_lid_53390' , 'durchmesser_53579' , 'hoehe_2940' , 'hoehe_3826' , 'anzahl_der_artikel_2684' , 'cauldron_weight_with_lid_53376' , 'cauldron_weight_with_lid_53384' , 'anzahl_der_artikel_2683' , 'netto_gewicht_filter_11' , 'anzahl_der_artikel_2679' , 'anzahl_der_artikel_2682' , 'anzahl_der_artikel_3789' , 'cauldron_weight_with_lid_53389' , 'cauldron_weight_with_lid_53361' , 'netto_gewicht_filter_8' , 'netto_gewicht_filter_9' , 'volumen_2072' , 'cauldron_weight_with_lid_53374' , 'cauldron_weight_with_lid_53383' , 'farbgruppierung_587' , 'hoehe_3081' , 'anzahl_der_artikel_2680' , 'anzahl_der_artikel_2681' , 'anzahl_der_artikel_2685' , 'cauldron_weight_with_lid_53344' , 'cauldron_weight_with_lid_53350' , 'cauldron_weight_with_lid_53352' , 'cauldron_weight_with_lid_53369' , 'durchmesser_2070' , 'durchmesser_2073' , 'durchmesser_2075' , 'durchmesser_2077' , 'family_138' , 'farbgruppierung_577' , 'form_2151' , 'herdarten_2766' , 'herdarten_2768' , 'hoehe_3027' , 'hoehe_3050' , 'hoehe_3051' , 'hoehe_3085' , 'hoehe_3103' , 'hoehe_3104' , 'hoehe_3905' , 'material_des_griffs_48895' , 'materialgruppierung_23425' , 'netto_gewicht_filter_6' , 'netto_gewicht_filter_7' , 'verpackung_2954' , 'volumen_1470' , 'volumen_2083' , 'volumen_2102' , 'volumen_22593' , 'volumen_23427' , 'volumen_23428' , 'volumen_28968' , 'volumen_680' ) AND a . is_filterable = true
SELECT
a . id as group_id ,
a . code ,
a . name_ru ,
a . name_de ,
a . sort ,
a . is_metric ,
a . is_deeplink ,
a . is_filterable ,
a . use_deeplink_code ,
a . group_sort ,
a . group_name_ru ,
a . group_name_de ,
av . uid as value_id ,
av . name_ru as value_ru ,
av . name_de as value_de
FROM
attribute_value AS av
JOIN attribute AS a on a . code = av . code
WHERE
av . uid IN (
'art_56799' , 'art_56801' , 'family_152' ,
'materialgruppierung_1525' , 'vendor_1411' ,
'verwendungszweck_42011' , 'serie_53972' ,
'verpackung_3948' , 'materialgruppierung_2062' ,
'materialgruppierung_1524' , 'materialgruppierung_25881' ,
'materialgruppierung_1520' , 'materialgruppierung_1523' ,
'netto_gewicht_filter_10' , 'volumen_2084' ,
'herdarten_2765' , 'herdarten_2975' ,
'materialgruppierung_1535' , 'netto_gewicht_filter_12' ,
'hoehe_3095' , 'volumen_36483' , 'volumen_5155' ,
'cauldron_weight_with_lid_53390' ,
'durchmesser_53579' , 'hoehe_2940' ,
'hoehe_3826' , 'anzahl_der_artikel_2684' ,
'cauldron_weight_with_lid_53376' ,
'cauldron_weight_with_lid_53384' ,
'anzahl_der_artikel_2683' , 'netto_gewicht_filter_11' ,
'anzahl_der_artikel_2679' , 'anzahl_der_artikel_2682' ,
'anzahl_der_artikel_3789' , 'cauldron_weight_with_lid_53389' ,
'cauldron_weight_with_lid_53361' ,
'netto_gewicht_filter_8' , 'netto_gewicht_filter_9' ,
'volumen_2072' , 'cauldron_weight_with_lid_53374' ,
'cauldron_weight_with_lid_53383' ,
'farbgruppierung_587' , 'hoehe_3081' ,
'anzahl_der_artikel_2680' , 'anzahl_der_artikel_2681' ,
'anzahl_der_artikel_2685' , 'cauldron_weight_with_lid_53344' ,
'cauldron_weight_with_lid_53350' ,
'cauldron_weight_with_lid_53352' ,
'cauldron_weight_with_lid_53369' ,
'durchmesser_2070' , 'durchmesser_2073' ,
'durchmesser_2075' , 'durchmesser_2077' ,
'family_138' , 'farbgruppierung_577' ,
'form_2151' , 'herdarten_2766' , 'herdarten_2768' ,
'hoehe_3027' , 'hoehe_3050' , 'hoehe_3051' ,
'hoehe_3085' , 'hoehe_3103' , 'hoehe_3104' ,
'hoehe_3905' , 'material_des_griffs_48895' ,
'materialgruppierung_23425' , 'netto_gewicht_filter_6' ,
'netto_gewicht_filter_7' , 'verpackung_2954' ,
'volumen_1470' , 'volumen_2083' ,
'volumen_2102' , 'volumen_22593' ,
'volumen_23427' , 'volumen_23428' ,
'volumen_28968' , 'volumen_680'
)
AND a . is_filterable = true
Copy
SELECT a . id as group_id , a . code , a . name_ru , a . name_de , a . sort ,
a . is_metric , a . is_deeplink , a . is_filterable , a . use_deeplink_code ,
a . group_sort , a . group_name_ru , a . group_name_de ,
av . uid as value_id , av . name_ru as value_ru , av . name_de as value_de
FROM attribute_value AS av
JOIN attribute AS a on a . code = av . code
WHERE av . uid IN ('art_56799' , 'art_56801' , 'family_152' , 'materialgruppierung_1525' , 'vendor_1411' , 'verwendungszweck_42011' , 'serie_53972' , 'verpackung_3948' , 'materialgruppierung_2062' , 'materialgruppierung_1524' , 'materialgruppierung_25881' , 'materialgruppierung_1520' , 'materialgruppierung_1523' , 'netto_gewicht_filter_10' , 'volumen_2084' , 'herdarten_2765' , 'herdarten_2975' , 'materialgruppierung_1535' , 'netto_gewicht_filter_12' , 'hoehe_3095' , 'volumen_36483' , 'volumen_5155' , 'cauldron_weight_with_lid_53390' , 'durchmesser_53579' , 'hoehe_2940' , 'hoehe_3826' , 'anzahl_der_artikel_2684' , 'cauldron_weight_with_lid_53376' , 'cauldron_weight_with_lid_53384' , 'anzahl_der_artikel_2683' , 'netto_gewicht_filter_11' , 'anzahl_der_artikel_2679' , 'anzahl_der_artikel_2682' , 'anzahl_der_artikel_3789' , 'cauldron_weight_with_lid_53389' , 'cauldron_weight_with_lid_53361' , 'netto_gewicht_filter_8' , 'netto_gewicht_filter_9' , 'volumen_2072' , 'cauldron_weight_with_lid_53374' , 'cauldron_weight_with_lid_53383' , 'farbgruppierung_587' , 'hoehe_3081' , 'anzahl_der_artikel_2680' , 'anzahl_der_artikel_2681' , 'anzahl_der_artikel_2685' , 'cauldron_weight_with_lid_53344' , 'cauldron_weight_with_lid_53350' , 'cauldron_weight_with_lid_53352' , 'cauldron_weight_with_lid_53369' , 'durchmesser_2070' , 'durchmesser_2073' , 'durchmesser_2075' , 'durchmesser_2077' , 'family_138' , 'farbgruppierung_577' , 'form_2151' , 'herdarten_2766' , 'herdarten_2768' , 'hoehe_3027' , 'hoehe_3050' , 'hoehe_3051' , 'hoehe_3085' , 'hoehe_3103' , 'hoehe_3104' , 'hoehe_3905' , 'material_des_griffs_48895' , 'materialgruppierung_23425' , 'netto_gewicht_filter_6' , 'netto_gewicht_filter_7' , 'verpackung_2954' , 'volumen_1470' , 'volumen_2083' , 'volumen_2102' , 'volumen_22593' , 'volumen_23427' , 'volumen_23428' , 'volumen_28968' , 'volumen_680' ) AND a . is_filterable = true ;
Copy