23.85 ms (87.66%)
1
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . slug AS slug_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . price AS price_5 , p0_ . is_gift_card AS is_gift_card_6 , p0_ . is_only_for_seo AS is_only_for_seo_7 , p0_ . visible AS visible_8 , p0_ . new AS new_9 , p0_ . featured AS featured_10 , p0_ . sku AS sku_11 , p0_ . meta_title AS meta_title_12 , p0_ . meta_description AS meta_description_13 , p0_ . meta_robots AS meta_robots_14 , p0_ . url_path AS url_path_15 , p0_ . buying_price AS buying_price_16 , p0_ . vat_rate AS vat_rate_17 , p0_ . weight AS weight_18 , p0_ . width AS width_19 , p0_ . height AS height_20 , p0_ . additional_shipping_costs AS additional_shipping_costs_21 , p0_ . inventory AS inventory_22 , p0_ . data AS data_23 , p0_ . created_at AS created_at_24 , p0_ . updated_at AS updated_at_25 , p1_ . id AS id_26 , p1_ . name AS name_27 , p1_ . label AS label_28 , p1_ . type AS type_29 , p1_ . ordering AS ordering_30 , p2_ . id AS id_31 , p2_ . attributes_hash AS attributes_hash_32 , p2_ . active AS active_33 , p2_ . label AS label_34 , p2_ . short_label AS short_label_35 , p2_ . sku AS sku_36 , p2_ . price AS price_37 , p2_ . buying_price AS buying_price_38 , p2_ . weight AS weight_39 , p2_ . width AS width_40 , p2_ . height AS height_41 , p2_ . additional_shipping_costs AS additional_shipping_costs_42 , p2_ . inventory AS inventory_43 , p2_ . extra_weight AS extra_weight_44 , p3_ . id AS id_45 , p3_ . name AS name_46 , p3_ . label AS label_47 , p3_ . type AS type_48 , p3_ . required AS required_49 , p3_ . ordering AS ordering_50 , p4_ . id AS id_51 , p4_ . label AS label_52 , p4_ . description AS description_53 , p4_ . value AS value_54 , p4_ . technical_value AS technical_value_55 , p4_ . extra_price AS extra_price_56 , p4_ . is_default AS is_default_57 , p4_ . ordering AS ordering_58 , p5_ . id AS id_59 , p5_ . rule_type AS rule_type_60 , p5_ . price_or_discount AS price_or_discount_61 , p5_ . discount_type AS discount_type_62 , p5_ . quantity_min AS quantity_min_63 , p5_ . quantity_max AS quantity_max_64 , p5_ . date_start AS date_start_65 , p5_ . date_end AS date_end_66 , p5_ . customer_group AS customer_group_67 , p5_ . priority AS priority_68 , p5_ . active AS active_69 , p6_ . id AS id_70 , p6_ . ordering AS ordering_71 , p1_ . product_id AS product_id_72 , p2_ . product_id AS product_id_73 , p7_ . product_variant_id AS product_variant_id_74 , p7_ . product_attribute_value_id AS product_attribute_value_id_75 , p3_ . product_id AS product_id_76 , p4_ . product_option_id AS product_option_id_77 , p5_ . product_id AS product_id_78 , p5_ . product_variant_id AS product_variant_id_79 , p5_ . shop_id AS shop_id_80 , p6_ . product_id AS product_id_81 , p6_ . media_id AS media_id_82 FROM product p0_ LEFT JOIN product_attribute p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant p2_ ON p0_ . id = p2_ . product_id LEFT JOIN product_variant_attribute p7_ ON p2_ . id = p7_ . product_variant_id LEFT JOIN product_option p3_ ON p0_ . id = p3_ . product_id LEFT JOIN product_option_value p4_ ON p3_ . id = p4_ . product_option_id LEFT JOIN product_pricing_rule p5_ ON p0_ . id = p5_ . product_id LEFT JOIN product_media p6_ ON p0_ . id = p6_ . product_id WHERE p0_ . id = ? ORDER BY p6_ . ordering ASC
SELECT
p0_ . id AS id_0 ,
p0_ . name AS name_1 ,
p0_ . slug AS slug_2 ,
p0_ . description AS description_3 ,
p0_ . short_description AS short_description_4 ,
p0_ . price AS price_5 ,
p0_ . is_gift_card AS is_gift_card_6 ,
p0_ . is_only_for_seo AS is_only_for_seo_7 ,
p0_ . visible AS visible_8 ,
p0_ . new AS new_9 ,
p0_ . featured AS featured_10 ,
p0_ . sku AS sku_11 ,
p0_ . meta_title AS meta_title_12 ,
p0_ . meta_description AS meta_description_13 ,
p0_ . meta_robots AS meta_robots_14 ,
p0_ . url_path AS url_path_15 ,
p0_ . buying_price AS buying_price_16 ,
p0_ . vat_rate AS vat_rate_17 ,
p0_ . weight AS weight_18 ,
p0_ . width AS width_19 ,
p0_ . height AS height_20 ,
p0_ . additional_shipping_costs AS additional_shipping_costs_21 ,
p0_ . inventory AS inventory_22 ,
p0_ . data AS data_23 ,
p0_ . created_at AS created_at_24 ,
p0_ . updated_at AS updated_at_25 ,
p1_ . id AS id_26 ,
p1_ . name AS name_27 ,
p1_ . label AS label_28 ,
p1_ . type AS type_29 ,
p1_ . ordering AS ordering_30 ,
p2_ . id AS id_31 ,
p2_ . attributes_hash AS attributes_hash_32 ,
p2_ . active AS active_33 ,
p2_ . label AS label_34 ,
p2_ . short_label AS short_label_35 ,
p2_ . sku AS sku_36 ,
p2_ . price AS price_37 ,
p2_ . buying_price AS buying_price_38 ,
p2_ . weight AS weight_39 ,
p2_ . width AS width_40 ,
p2_ . height AS height_41 ,
p2_ . additional_shipping_costs AS additional_shipping_costs_42 ,
p2_ . inventory AS inventory_43 ,
p2_ . extra_weight AS extra_weight_44 ,
p3_ . id AS id_45 ,
p3_ . name AS name_46 ,
p3_ . label AS label_47 ,
p3_ . type AS type_48 ,
p3_ . required AS required_49 ,
p3_ . ordering AS ordering_50 ,
p4_ . id AS id_51 ,
p4_ . label AS label_52 ,
p4_ . description AS description_53 ,
p4_ . value AS value_54 ,
p4_ . technical_value AS technical_value_55 ,
p4_ . extra_price AS extra_price_56 ,
p4_ . is_default AS is_default_57 ,
p4_ . ordering AS ordering_58 ,
p5_ . id AS id_59 ,
p5_ . rule_type AS rule_type_60 ,
p5_ . price_or_discount AS price_or_discount_61 ,
p5_ . discount_type AS discount_type_62 ,
p5_ . quantity_min AS quantity_min_63 ,
p5_ . quantity_max AS quantity_max_64 ,
p5_ . date_start AS date_start_65 ,
p5_ . date_end AS date_end_66 ,
p5_ . customer_group AS customer_group_67 ,
p5_ . priority AS priority_68 ,
p5_ . active AS active_69 ,
p6_ . id AS id_70 ,
p6_ . ordering AS ordering_71 ,
p1_ . product_id AS product_id_72 ,
p2_ . product_id AS product_id_73 ,
p7_ . product_variant_id AS product_variant_id_74 ,
p7_ . product_attribute_value_id AS product_attribute_value_id_75 ,
p3_ . product_id AS product_id_76 ,
p4_ . product_option_id AS product_option_id_77 ,
p5_ . product_id AS product_id_78 ,
p5_ . product_variant_id AS product_variant_id_79 ,
p5_ . shop_id AS shop_id_80 ,
p6_ . product_id AS product_id_81 ,
p6_ . media_id AS media_id_82
FROM
product p0_
LEFT JOIN product_attribute p1_ ON p0_ . id = p1_ . product_id
LEFT JOIN product_variant p2_ ON p0_ . id = p2_ . product_id
LEFT JOIN product_variant_attribute p7_ ON p2_ . id = p7_ . product_variant_id
LEFT JOIN product_option p3_ ON p0_ . id = p3_ . product_id
LEFT JOIN product_option_value p4_ ON p3_ . id = p4_ . product_option_id
LEFT JOIN product_pricing_rule p5_ ON p0_ . id = p5_ . product_id
LEFT JOIN product_media p6_ ON p0_ . id = p6_ . product_id
WHERE
p0_ . id = ?
ORDER BY
p6_ . ordering ASC
Copy
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . slug AS slug_2 , p0_ . description AS description_3 , p0_ . short_description AS short_description_4 , p0_ . price AS price_5 , p0_ . is_gift_card AS is_gift_card_6 , p0_ . is_only_for_seo AS is_only_for_seo_7 , p0_ . visible AS visible_8 , p0_ . new AS new_9 , p0_ . featured AS featured_10 , p0_ . sku AS sku_11 , p0_ . meta_title AS meta_title_12 , p0_ . meta_description AS meta_description_13 , p0_ . meta_robots AS meta_robots_14 , p0_ . url_path AS url_path_15 , p0_ . buying_price AS buying_price_16 , p0_ . vat_rate AS vat_rate_17 , p0_ . weight AS weight_18 , p0_ . width AS width_19 , p0_ . height AS height_20 , p0_ . additional_shipping_costs AS additional_shipping_costs_21 , p0_ . inventory AS inventory_22 , p0_ . data AS data_23 , p0_ . created_at AS created_at_24 , p0_ . updated_at AS updated_at_25 , p1_ . id AS id_26 , p1_ . name AS name_27 , p1_ . label AS label_28 , p1_ . type AS type_29 , p1_ . ordering AS ordering_30 , p2_ . id AS id_31 , p2_ . attributes_hash AS attributes_hash_32 , p2_ . active AS active_33 , p2_ . label AS label_34 , p2_ . short_label AS short_label_35 , p2_ . sku AS sku_36 , p2_ . price AS price_37 , p2_ . buying_price AS buying_price_38 , p2_ . weight AS weight_39 , p2_ . width AS width_40 , p2_ . height AS height_41 , p2_ . additional_shipping_costs AS additional_shipping_costs_42 , p2_ . inventory AS inventory_43 , p2_ . extra_weight AS extra_weight_44 , p3_ . id AS id_45 , p3_ . name AS name_46 , p3_ . label AS label_47 , p3_ . type AS type_48 , p3_ . required AS required_49 , p3_ . ordering AS ordering_50 , p4_ . id AS id_51 , p4_ . label AS label_52 , p4_ . description AS description_53 , p4_ . value AS value_54 , p4_ . technical_value AS technical_value_55 , p4_ . extra_price AS extra_price_56 , p4_ . is_default AS is_default_57 , p4_ . ordering AS ordering_58 , p5_ . id AS id_59 , p5_ . rule_type AS rule_type_60 , p5_ . price_or_discount AS price_or_discount_61 , p5_ . discount_type AS discount_type_62 , p5_ . quantity_min AS quantity_min_63 , p5_ . quantity_max AS quantity_max_64 , p5_ . date_start AS date_start_65 , p5_ . date_end AS date_end_66 , p5_ . customer_group AS customer_group_67 , p5_ . priority AS priority_68 , p5_ . active AS active_69 , p6_ . id AS id_70 , p6_ . ordering AS ordering_71 , p1_ . product_id AS product_id_72 , p2_ . product_id AS product_id_73 , p7_ . product_variant_id AS product_variant_id_74 , p7_ . product_attribute_value_id AS product_attribute_value_id_75 , p3_ . product_id AS product_id_76 , p4_ . product_option_id AS product_option_id_77 , p5_ . product_id AS product_id_78 , p5_ . product_variant_id AS product_variant_id_79 , p5_ . shop_id AS shop_id_80 , p6_ . product_id AS product_id_81 , p6_ . media_id AS media_id_82 FROM product p0_ LEFT JOIN product_attribute p1_ ON p0_ . id = p1_ . product_id LEFT JOIN product_variant p2_ ON p0_ . id = p2_ . product_id LEFT JOIN product_variant_attribute p7_ ON p2_ . id = p7_ . product_variant_id LEFT JOIN product_option p3_ ON p0_ . id = p3_ . product_id LEFT JOIN product_option_value p4_ ON p3_ . id = p4_ . product_option_id LEFT JOIN product_pricing_rule p5_ ON p0_ . id = p5_ . product_id LEFT JOIN product_media p6_ ON p0_ . id = p6_ . product_id WHERE p0_ . id = 847 ORDER BY p6_ . ordering ASC ;
Copy
0.55 ms (2.02%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . short_description AS short_description_5 , t0 . position AS position_6 , t0 . level AS level_7 , t0 . need_customer_image AS need_customer_image_8 , t0 . is_gift_card_category AS is_gift_card_category_9 , t0 . media_id AS media_id_10 , t0 . lft AS lft_11 , t0 . rght AS rght_12 , t0 . visible AS visible_13 , t0 . featured AS featured_14 , t0 . url_path AS url_path_15 , t0 . meta_title AS meta_title_16 , t0 . meta_description AS meta_description_17 , t0 . meta_robots AS meta_robots_18 , t0 . description_seo AS description_seo_19 , t0 . data AS data_20 , t0 . sort_method AS sort_method_21 , t0 . parent_id AS parent_id_22 , t0 . shop_id AS shop_id_23 FROM category t0 INNER JOIN category_product ON t0 . id = category_product . category_id WHERE category_product . product_id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . slug AS slug_3 , t0 . description AS description_4 , t0 . short_description AS short_description_5 , t0 . position AS position_6 , t0 . level AS level_7 , t0 . need_customer_image AS need_customer_image_8 , t0 . is_gift_card_category AS is_gift_card_category_9 , t0 . media_id AS media_id_10 , t0 . lft AS lft_11 , t0 . rght AS rght_12 , t0 . visible AS visible_13 , t0 . featured AS featured_14 , t0 . url_path AS url_path_15 , t0 . meta_title AS meta_title_16 , t0 . meta_description AS meta_description_17 , t0 . meta_robots AS meta_robots_18 , t0 . description_seo AS description_seo_19 , t0 . data AS data_20 , t0 . sort_method AS sort_method_21 , t0 . parent_id AS parent_id_22 , t0 . shop_id AS shop_id_23 FROM category t0 INNER JOIN category_product ON t0 . id = category_product . category_id WHERE category_product . product_id = 847 ;
Copy