1.87 ms (13.83%)
4
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . html AS html_4 , p0_ . title AS title_5 , p0_ . is_active AS is_active_6 , p0_ . slug AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_ . id = p1_ . category_sub_id WHERE p1_ . category_super_id = ? AND p0_ . category_type_id = ? AND p0_ . is_active = 1 ORDER BY p1_ . sequence ASC , p0_ . sequence ASC
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . html AS html_4 , p0_ . title AS title_5 , p0_ . is_active AS is_active_6 , p0_ . slug AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_ . id = p1_ . category_sub_id WHERE p1_ . category_super_id = 452 AND p0_ . category_type_id = 18 AND p0_ . is_active = 1 ORDER BY p1_ . sequence ASC , p0_ . sequence ASC ;
Copy
1.57 ms (11.58%)
1
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = ? AND e0_ . object_class = ? AND e0_ . field = ? AND e0_ . content = ? LIMIT 1
Parameters :
[
"cs "
"Greendot\EshopBundle\Entity\Project\Product "
"slug "
"ocelove-lanko-pro-vnitrni-zaluzie-climax "
]
SELECT e0_ . foreign_key AS foreign_key_0 FROM ext_translations e0_ WHERE e0_ . locale = 'cs' AND e0_ . object_class = 'Greendot\\EshopBundle\\Entity\\Project\\Product' AND e0_ . field = 'slug' AND e0_ . content = 'ocelove-lanko-pro-vnitrni-zaluzie-climax' LIMIT 1 ;
Copy
1.02 ms (7.56%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 FROM product_view_type t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . template AS template_3 FROM product_view_type t0 WHERE t0 . id = 2 ;
Copy
0.99 ms (7.30%)
2
SELECT a0_ . id AS id_0 , a0_ . name AS name_1 , a0_ . description AS description_2 , a0_ . class AS class_3 , a0_ . is_purchasable AS is_purchasable_4 , a0_ . sequence AS sequence_5 FROM availability a0_ LEFT JOIN product_variant p1_ ON a0_ . id = p1_ . availability_id AND (p1_ . is_active = true ) WHERE p1_ . product_id = ? ORDER BY a0_ . sequence ASC LIMIT 1
SELECT a0_ . id AS id_0 , a0_ . name AS name_1 , a0_ . description AS description_2 , a0_ . class AS class_3 , a0_ . is_purchasable AS is_purchasable_4 , a0_ . sequence AS sequence_5 FROM availability a0_ LEFT JOIN product_variant p1_ ON a0_ . id = p1_ . availability_id AND (p1_ . is_active = true ) WHERE p1_ . product_id = 113 ORDER BY a0_ . sequence ASC LIMIT 1 ;
Copy
0.97 ms (7.14%)
4
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . is_menu_item AS is_menu_item_3 , t0 . is_main_category AS is_main_category_4 , t0 . category_super_id AS category_super_id_5 , t0 . category_sub_id AS category_sub_id_6 FROM p_category_category t0 WHERE t0 . category_sub_id = ? ORDER BY t0 . sequence ASC
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . is_menu_item AS is_menu_item_3 , t0 . is_main_category AS is_main_category_4 , t0 . category_super_id AS category_super_id_5 , t0 . category_sub_id AS category_sub_id_6 FROM p_category_category t0 WHERE t0 . category_sub_id = 458 ORDER BY t0 . sequence ASC ;
Copy
0.79 ms (5.86%)
1
SELECT p0_ . id AS id_0 , p0_ . sequence AS sequence_1 , p0_ . discount AS discount_2 , p1_ . id AS id_3 , p1_ . name AS name_4 , p1_ . menu_name AS menu_name_5 , p1_ . description AS description_6 , p1_ . title AS title_7 , p1_ . slug AS slug_8 , p1_ . is_active AS is_active_9 , p1_ . is_visible AS is_visible_10 , p1_ . sequence AS sequence_11 , p1_ . javascript AS javascript_12 , p1_ . text_general AS text_general_13 , p1_ . state AS state_14 , p1_ . external_id AS external_id_15 , p1_ . is_indexable AS is_indexable_16 , p1_ . meta_description AS meta_description_17 , p1_ . has_variant_picture AS has_variant_picture_18 , p1_ . sold_amount AS sold_amount_19 , p1_ . additional_data AS additional_data_20 , p1_ . is_deleted AS is_deleted_21 , p2_ . id AS id_22 , p2_ . name AS name_23 , p2_ . menu_name AS menu_name_24 , p2_ . description AS description_25 , p2_ . title AS title_26 , p2_ . slug AS slug_27 , p2_ . is_active AS is_active_28 , p2_ . is_visible AS is_visible_29 , p2_ . sequence AS sequence_30 , p2_ . javascript AS javascript_31 , p2_ . text_general AS text_general_32 , p2_ . state AS state_33 , p2_ . external_id AS external_id_34 , p2_ . is_indexable AS is_indexable_35 , p2_ . meta_description AS meta_description_36 , p2_ . has_variant_picture AS has_variant_picture_37 , p2_ . sold_amount AS sold_amount_38 , p2_ . additional_data AS additional_data_39 , p2_ . is_deleted AS is_deleted_40 , p0_ . parent_product_id AS parent_product_id_41 , p0_ . children_product_id AS children_product_id_42 , p0_ . product_product_type_id AS product_product_type_id_43 , p1_ . producer_id AS producer_id_44 , p1_ . upload_id AS upload_id_45 , p1_ . product_type_id AS product_type_id_46 , p1_ . product_view_type_id AS product_view_type_id_47 , p2_ . producer_id AS producer_id_48 , p2_ . upload_id AS upload_id_49 , p2_ . product_type_id AS product_type_id_50 , p2_ . product_view_type_id AS product_view_type_id_51 FROM product_product p0_ INNER JOIN product_product_type p3_ ON p0_ . product_product_type_id = p3_ . id INNER JOIN product p1_ ON p0_ . parent_product_id = p1_ . id AND (p1_ . is_active = true ) INNER JOIN product p2_ ON p0_ . children_product_id = p2_ . id AND (p2_ . is_active = true ) WHERE p3_ . name = ? AND (p1_ . id = ? OR p2_ . id = ? ) AND p1_ . is_active = ? AND p2_ . is_active = ? ORDER BY p0_ . sequence ASC
Parameters :
[
"RELATED "
113
113
1
1
]
SELECT
p0_ . id AS id_0 ,
p0_ . sequence AS sequence_1 ,
p0_ . discount AS discount_2 ,
p1_ . id AS id_3 ,
p1_ . name AS name_4 ,
p1_ . menu_name AS menu_name_5 ,
p1_ . description AS description_6 ,
p1_ . title AS title_7 ,
p1_ . slug AS slug_8 ,
p1_ . is_active AS is_active_9 ,
p1_ . is_visible AS is_visible_10 ,
p1_ . sequence AS sequence_11 ,
p1_ . javascript AS javascript_12 ,
p1_ . text_general AS text_general_13 ,
p1_ . state AS state_14 ,
p1_ . external_id AS external_id_15 ,
p1_ . is_indexable AS is_indexable_16 ,
p1_ . meta_description AS meta_description_17 ,
p1_ . has_variant_picture AS has_variant_picture_18 ,
p1_ . sold_amount AS sold_amount_19 ,
p1_ . additional_data AS additional_data_20 ,
p1_ . is_deleted AS is_deleted_21 ,
p2_ . id AS id_22 ,
p2_ . name AS name_23 ,
p2_ . menu_name AS menu_name_24 ,
p2_ . description AS description_25 ,
p2_ . title AS title_26 ,
p2_ . slug AS slug_27 ,
p2_ . is_active AS is_active_28 ,
p2_ . is_visible AS is_visible_29 ,
p2_ . sequence AS sequence_30 ,
p2_ . javascript AS javascript_31 ,
p2_ . text_general AS text_general_32 ,
p2_ . state AS state_33 ,
p2_ . external_id AS external_id_34 ,
p2_ . is_indexable AS is_indexable_35 ,
p2_ . meta_description AS meta_description_36 ,
p2_ . has_variant_picture AS has_variant_picture_37 ,
p2_ . sold_amount AS sold_amount_38 ,
p2_ . additional_data AS additional_data_39 ,
p2_ . is_deleted AS is_deleted_40 ,
p0_ . parent_product_id AS parent_product_id_41 ,
p0_ . children_product_id AS children_product_id_42 ,
p0_ . product_product_type_id AS product_product_type_id_43 ,
p1_ . producer_id AS producer_id_44 ,
p1_ . upload_id AS upload_id_45 ,
p1_ . product_type_id AS product_type_id_46 ,
p1_ . product_view_type_id AS product_view_type_id_47 ,
p2_ . producer_id AS producer_id_48 ,
p2_ . upload_id AS upload_id_49 ,
p2_ . product_type_id AS product_type_id_50 ,
p2_ . product_view_type_id AS product_view_type_id_51
FROM
product_product p0_
INNER JOIN product_product_type p3_ ON p0_ . product_product_type_id = p3_ . id
INNER JOIN product p1_ ON p0_ . parent_product_id = p1_ . id
AND (p1_ . is_active = true )
INNER JOIN product p2_ ON p0_ . children_product_id = p2_ . id
AND (p2_ . is_active = true )
WHERE
p3_ . name = ?
AND (
p1_ . id = ?
OR p2_ . id = ?
)
AND p1_ . is_active = ?
AND p2_ . is_active = ?
ORDER BY
p0_ . sequence ASC
Copy
SELECT p0_ . id AS id_0 , p0_ . sequence AS sequence_1 , p0_ . discount AS discount_2 , p1_ . id AS id_3 , p1_ . name AS name_4 , p1_ . menu_name AS menu_name_5 , p1_ . description AS description_6 , p1_ . title AS title_7 , p1_ . slug AS slug_8 , p1_ . is_active AS is_active_9 , p1_ . is_visible AS is_visible_10 , p1_ . sequence AS sequence_11 , p1_ . javascript AS javascript_12 , p1_ . text_general AS text_general_13 , p1_ . state AS state_14 , p1_ . external_id AS external_id_15 , p1_ . is_indexable AS is_indexable_16 , p1_ . meta_description AS meta_description_17 , p1_ . has_variant_picture AS has_variant_picture_18 , p1_ . sold_amount AS sold_amount_19 , p1_ . additional_data AS additional_data_20 , p1_ . is_deleted AS is_deleted_21 , p2_ . id AS id_22 , p2_ . name AS name_23 , p2_ . menu_name AS menu_name_24 , p2_ . description AS description_25 , p2_ . title AS title_26 , p2_ . slug AS slug_27 , p2_ . is_active AS is_active_28 , p2_ . is_visible AS is_visible_29 , p2_ . sequence AS sequence_30 , p2_ . javascript AS javascript_31 , p2_ . text_general AS text_general_32 , p2_ . state AS state_33 , p2_ . external_id AS external_id_34 , p2_ . is_indexable AS is_indexable_35 , p2_ . meta_description AS meta_description_36 , p2_ . has_variant_picture AS has_variant_picture_37 , p2_ . sold_amount AS sold_amount_38 , p2_ . additional_data AS additional_data_39 , p2_ . is_deleted AS is_deleted_40 , p0_ . parent_product_id AS parent_product_id_41 , p0_ . children_product_id AS children_product_id_42 , p0_ . product_product_type_id AS product_product_type_id_43 , p1_ . producer_id AS producer_id_44 , p1_ . upload_id AS upload_id_45 , p1_ . product_type_id AS product_type_id_46 , p1_ . product_view_type_id AS product_view_type_id_47 , p2_ . producer_id AS producer_id_48 , p2_ . upload_id AS upload_id_49 , p2_ . product_type_id AS product_type_id_50 , p2_ . product_view_type_id AS product_view_type_id_51 FROM product_product p0_ INNER JOIN product_product_type p3_ ON p0_ . product_product_type_id = p3_ . id INNER JOIN product p1_ ON p0_ . parent_product_id = p1_ . id AND (p1_ . is_active = true ) INNER JOIN product p2_ ON p0_ . children_product_id = p2_ . id AND (p2_ . is_active = true ) WHERE p3_ . name = 'RELATED' AND (p1_ . id = 113 OR p2_ . id = 113 ) AND p1_ . is_active = 1 AND p2_ . is_active = 1 ORDER BY p0_ . sequence ASC ;
Copy
0.73 ms (5.40%)
3
SELECT p0_ . id AS id_0 , p0_ . sequence AS sequence_1 , p0_ . is_menu_item AS is_menu_item_2 , p0_ . is_main_category AS is_main_category_3 , p0_ . category_super_id AS category_super_id_4 , p0_ . category_sub_id AS category_sub_id_5 FROM p_category_category p0_ WHERE p0_ . is_main_category = 1 AND p0_ . category_sub_id = ?
SELECT p0_ . id AS id_0 , p0_ . sequence AS sequence_1 , p0_ . is_menu_item AS is_menu_item_2 , p0_ . is_main_category AS is_main_category_3 , p0_ . category_super_id AS category_super_id_4 , p0_ . category_sub_id AS category_sub_id_5 FROM p_category_category p0_ WHERE p0_ . is_main_category = 1 AND p0_ . category_sub_id = 458 ;
Copy
0.68 ms (5.01%)
1
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . html AS html_4 , p0_ . title AS title_5 , p0_ . is_active AS is_active_6 , p0_ . slug AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_ . id = p1_ . category_sub_id LEFT JOIN category_menu_type c2_ ON p0_ . id = c2_ . category_id WHERE p0_ . is_active = ? AND p0_ . id > = ? AND p1_ . id IS NULL AND c2_ . menu_type_id = ? AND p0_ . category_type_id IN (? ) ORDER BY c2_ . sequence ASC
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . html AS html_4 , p0_ . title AS title_5 , p0_ . is_active AS is_active_6 , p0_ . slug AS slug_7 , p0_ . javascript AS javascript_8 , p0_ . sequence AS sequence_9 , p0_ . is_menu AS is_menu_10 , p0_ . latitude AS latitude_11 , p0_ . longitude AS longitude_12 , p0_ . state AS state_13 , p0_ . has_comments AS has_comments_14 , p0_ . is_indexable AS is_indexable_15 , p0_ . created_at AS created_at_16 , p0_ . published_at AS published_at_17 , p0_ . additional_data AS additional_data_18 , p0_ . special_category_code AS special_category_code_19 , p0_ . category_type_id AS category_type_id_20 , p0_ . upload_id AS upload_id_21 FROM p_category p0_ LEFT JOIN p_category_category p1_ ON p0_ . id = p1_ . category_sub_id LEFT JOIN category_menu_type c2_ ON p0_ . id = c2_ . category_id WHERE p0_ . is_active = 1 AND p0_ . id > = 2 AND p1_ . id IS NULL AND c2_ . menu_type_id = 2 AND p0_ . category_type_id IN (17 ) ORDER BY c2_ . sequence ASC ;
Copy
0.55 ms (4.02%)
2
SELECT p0_ . data AS data_0 , p1_ . name AS name_1 FROM parameter p0_ LEFT JOIN product_variant p2_ ON p0_ . product_variant_id = p2_ . id AND (p2_ . is_active = true ) LEFT JOIN parameter_group p1_ ON p0_ . parameter_group_id = p1_ . id WHERE p2_ . product_id = ?
SELECT p0_ . data AS data_0 , p1_ . name AS name_1 FROM parameter p0_ LEFT JOIN product_variant p2_ ON p0_ . product_variant_id = p2_ . id AND (p2_ . is_active = true ) LEFT JOIN parameter_group p1_ ON p0_ . parameter_group_id = p1_ . id WHERE p2_ . product_id = 113 ;
Copy
0.41 ms (3.03%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . description AS description_4 , t0 . title AS title_5 , t0 . slug AS slug_6 , t0 . is_active AS is_active_7 , t0 . is_visible AS is_visible_8 , t0 . sequence AS sequence_9 , t0 . javascript AS javascript_10 , t0 . text_general AS text_general_11 , t0 . state AS state_12 , t0 . external_id AS external_id_13 , t0 . is_indexable AS is_indexable_14 , t0 . meta_description AS meta_description_15 , t0 . has_variant_picture AS has_variant_picture_16 , t0 . sold_amount AS sold_amount_17 , t0 . additional_data AS additional_data_18 , t0 . is_deleted AS is_deleted_19 , t0 . producer_id AS producer_id_20 , t0 . upload_id AS upload_id_21 , t0 . product_type_id AS product_type_id_22 , t0 . product_view_type_id AS product_view_type_id_23 FROM product t0 WHERE t0 . slug = ? AND ((t0 . is_active = true )) LIMIT 1
Parameters :
[
"ocelove-lanko-pro-vnitrni-zaluzie-climax "
]
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . description AS description_4 , t0 . title AS title_5 , t0 . slug AS slug_6 , t0 . is_active AS is_active_7 , t0 . is_visible AS is_visible_8 , t0 . sequence AS sequence_9 , t0 . javascript AS javascript_10 , t0 . text_general AS text_general_11 , t0 . state AS state_12 , t0 . external_id AS external_id_13 , t0 . is_indexable AS is_indexable_14 , t0 . meta_description AS meta_description_15 , t0 . has_variant_picture AS has_variant_picture_16 , t0 . sold_amount AS sold_amount_17 , t0 . additional_data AS additional_data_18 , t0 . is_deleted AS is_deleted_19 , t0 . producer_id AS producer_id_20 , t0 . upload_id AS upload_id_21 , t0 . product_type_id AS product_type_id_22 , t0 . product_view_type_id AS product_view_type_id_23 FROM product t0 WHERE t0 . slug = 'ocelove-lanko-pro-vnitrni-zaluzie-climax' AND ((t0 . is_active = true )) LIMIT 1 ;
Copy
0.39 ms (2.87%)
1
SELECT s0_ . value AS value_0 FROM settings s0_ WHERE s0_ . name = ? ORDER BY s0_ . name ASC LIMIT 1
Parameters :
[
"after_registration_discount "
]
SELECT s0_ . value AS value_0 FROM settings s0_ WHERE s0_ . name = 'after_registration_discount' ORDER BY s0_ . name ASC LIMIT 1 ;
Copy
0.38 ms (2.77%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . symbol AS symbol_3 , t0 . rounding AS rounding_4 , t0 . is_default AS is_default_5 , t0 . default_locale AS default_locale_6 , t0 . is_symbol_left AS is_symbol_left_7 , t0 . is_deleted AS is_deleted_8 FROM currency t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . symbol AS symbol_3 , t0 . rounding AS rounding_4 , t0 . is_default AS is_default_5 , t0 . default_locale AS default_locale_6 , t0 . is_symbol_left AS is_symbol_left_7 , t0 . is_deleted AS is_deleted_8 FROM currency t0 WHERE t0 . id = 1 ;
Copy
0.27 ms (2.01%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . stock AS stock_3 , t0 . external_id AS external_id_4 , t0 . avg_restock_days AS avg_restock_days_5 , t0 . expected_restock_date AS expected_restock_date_6 , t0 . is_active AS is_active_7 , t0 . is_deleted AS is_deleted_8 , t0 . product_id AS product_id_9 , t0 . availability_id AS availability_id_10 , t0 . upload_id AS upload_id_11 FROM product_variant t0 WHERE t0 . product_id = ? AND ((t0 . is_active = true ))
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . stock AS stock_3 , t0 . external_id AS external_id_4 , t0 . avg_restock_days AS avg_restock_days_5 , t0 . expected_restock_date AS expected_restock_date_6 , t0 . is_active AS is_active_7 , t0 . is_deleted AS is_deleted_8 , t0 . product_id AS product_id_9 , t0 . availability_id AS availability_id_10 , t0 . upload_id AS upload_id_11 FROM product_variant t0 WHERE t0 . product_id = 113 AND ((t0 . is_active = true ));
Copy
0.26 ms (1.92%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . extension AS extension_3 , t0 . mime AS mime_4 , t0 . title AS title_5 , t0 . short_description AS short_description_6 , t0 . description AS description_7 , t0 . created AS created_8 , t0 . path AS path_9 , t0 . original_name AS original_name_10 , t0 . width AS width_11 , t0 . height AS height_12 , t0 . sequence AS sequence_13 , t0 . restriction AS restriction_14 , t0 . upload_group_id AS upload_group_id_15 , t0 . upload_type_id AS upload_type_id_16 FROM upload t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . extension AS extension_3 , t0 . mime AS mime_4 , t0 . title AS title_5 , t0 . short_description AS short_description_6 , t0 . description AS description_7 , t0 . created AS created_8 , t0 . path AS path_9 , t0 . original_name AS original_name_10 , t0 . width AS width_11 , t0 . height AS height_12 , t0 . sequence AS sequence_13 , t0 . restriction AS restriction_14 , t0 . upload_group_id AS upload_group_id_15 , t0 . upload_type_id AS upload_type_id_16 FROM upload t0 WHERE t0 . id = 4088 ;
Copy
0.26 ms (1.90%)
1
SELECT u0_ . id AS id_0 , u0_ . type AS type_1 FROM upload_group u0_ LEFT JOIN product_upload_group p1_ ON u0_ . id = p1_ . upload_group_id WHERE p1_ . product_id = ? AND u0_ . type = ?
SELECT u0_ . id AS id_0 , u0_ . type AS type_1 FROM upload_group u0_ LEFT JOIN product_upload_group p1_ ON u0_ . id = p1_ . upload_group_id WHERE p1_ . product_id = 113 AND u0_ . type = 0 ;
Copy
0.26 ms (1.89%)
1
SELECT c0_ . id AS id_0 , c0_ . sequence AS sequence_1 , c0_ . is_main_category AS is_main_category_2 , c0_ . product_id AS product_id_3 , c0_ . category_id AS category_id_4 FROM category_product c0_ WHERE c0_ . is_main_category = 1 AND c0_ . product_id = ?
SELECT c0_ . id AS id_0 , c0_ . sequence AS sequence_1 , c0_ . is_main_category AS is_main_category_2 , c0_ . product_id AS product_id_3 , c0_ . category_id AS category_id_4 FROM category_product c0_ WHERE c0_ . is_main_category = 1 AND c0_ . product_id = 113 ;
Copy
0.26 ms (1.89%)
1
SELECT u0_ . id AS id_0 , u0_ . name AS name_1 , u0_ . extension AS extension_2 , u0_ . mime AS mime_3 , u0_ . title AS title_4 , u0_ . short_description AS short_description_5 , u0_ . description AS description_6 , u0_ . created AS created_7 , u0_ . path AS path_8 , u0_ . original_name AS original_name_9 , u0_ . width AS width_10 , u0_ . height AS height_11 , u0_ . sequence AS sequence_12 , u0_ . restriction AS restriction_13 , u0_ . upload_group_id AS upload_group_id_14 , u0_ . upload_type_id AS upload_type_id_15 FROM upload u0_ WHERE u0_ . upload_group_id IN (NULL )
SELECT u0_ . id AS id_0 , u0_ . name AS name_1 , u0_ . extension AS extension_2 , u0_ . mime AS mime_3 , u0_ . title AS title_4 , u0_ . short_description AS short_description_5 , u0_ . description AS description_6 , u0_ . created AS created_7 , u0_ . path AS path_8 , u0_ . original_name AS original_name_9 , u0_ . width AS width_10 , u0_ . height AS height_11 , u0_ . sequence AS sequence_12 , u0_ . restriction AS restriction_13 , u0_ . upload_group_id AS upload_group_id_14 , u0_ . upload_type_id AS upload_type_id_15 FROM upload u0_ WHERE u0_ . upload_group_id IN (NULL );
Copy
0.25 ms (1.87%)
1
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . title AS title_4 , p0_ . slug AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , p0_ . text_general AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , p0_ . meta_description AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ WHERE (p0_ . id = ? ) AND (p0_ . is_active = true )
SELECT p0_ . id AS id_0 , p0_ . name AS name_1 , p0_ . menu_name AS menu_name_2 , p0_ . description AS description_3 , p0_ . title AS title_4 , p0_ . slug AS slug_5 , p0_ . is_active AS is_active_6 , p0_ . is_visible AS is_visible_7 , p0_ . sequence AS sequence_8 , p0_ . javascript AS javascript_9 , p0_ . text_general AS text_general_10 , p0_ . state AS state_11 , p0_ . external_id AS external_id_12 , p0_ . is_indexable AS is_indexable_13 , p0_ . meta_description AS meta_description_14 , p0_ . has_variant_picture AS has_variant_picture_15 , p0_ . sold_amount AS sold_amount_16 , p0_ . additional_data AS additional_data_17 , p0_ . is_deleted AS is_deleted_18 , p0_ . producer_id AS producer_id_19 , p0_ . upload_id AS upload_id_20 , p0_ . product_type_id AS product_type_id_21 , p0_ . product_view_type_id AS product_view_type_id_22 FROM product p0_ WHERE (p0_ . id = 113 ) AND (p0_ . is_active = true );
Copy
0.25 ms (1.87%)
1
SELECT u0_ . id AS id_0 , u0_ . type AS type_1 FROM upload_group u0_ LEFT JOIN product_variant_upload_group p1_ ON u0_ . id = p1_ . upload_group_id WHERE p1_ . product_variant_id IN (? ) AND u0_ . type = ?
SELECT u0_ . id AS id_0 , u0_ . type AS type_1 FROM upload_group u0_ LEFT JOIN product_variant_upload_group p1_ ON u0_ . id = p1_ . upload_group_id WHERE p1_ . product_variant_id IN (139 ) AND u0_ . type = 0 ;
Copy
0.24 ms (1.79%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . description AS description_4 , t0 . html AS html_5 , t0 . title AS title_6 , t0 . is_active AS is_active_7 , t0 . slug AS slug_8 , t0 . javascript AS javascript_9 , t0 . sequence AS sequence_10 , t0 . is_menu AS is_menu_11 , t0 . latitude AS latitude_12 , t0 . longitude AS longitude_13 , t0 . state AS state_14 , t0 . has_comments AS has_comments_15 , t0 . is_indexable AS is_indexable_16 , t0 . created_at AS created_at_17 , t0 . published_at AS published_at_18 , t0 . additional_data AS additional_data_19 , t0 . special_category_code AS special_category_code_20 , t0 . category_type_id AS category_type_id_21 , t0 . upload_id AS upload_id_22 FROM p_category t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . description AS description_4 , t0 . html AS html_5 , t0 . title AS title_6 , t0 . is_active AS is_active_7 , t0 . slug AS slug_8 , t0 . javascript AS javascript_9 , t0 . sequence AS sequence_10 , t0 . is_menu AS is_menu_11 , t0 . latitude AS latitude_12 , t0 . longitude AS longitude_13 , t0 . state AS state_14 , t0 . has_comments AS has_comments_15 , t0 . is_indexable AS is_indexable_16 , t0 . created_at AS created_at_17 , t0 . published_at AS published_at_18 , t0 . additional_data AS additional_data_19 , t0 . special_category_code AS special_category_code_20 , t0 . category_type_id AS category_type_id_21 , t0 . upload_id AS upload_id_22 FROM p_category t0 WHERE t0 . id = 458 ;
Copy
0.24 ms (1.75%)
1
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . discount AS discount_3 , t0 . parent_product_id AS parent_product_id_4 , t0 . children_product_id AS children_product_id_5 , t0 . product_product_type_id AS product_product_type_id_6 FROM product_product t0 WHERE t0 . parent_product_id = ?
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . discount AS discount_3 , t0 . parent_product_id AS parent_product_id_4 , t0 . children_product_id AS children_product_id_5 , t0 . product_product_type_id AS product_product_type_id_6 FROM product_product t0 WHERE t0 . parent_product_id = 113 ;
Copy
0.24 ms (1.73%)
1
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . is_main_category AS is_main_category_3 , t0 . product_id AS product_id_4 , t0 . category_id AS category_id_5 FROM category_product t0 WHERE t0 . product_id = ?
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . is_main_category AS is_main_category_3 , t0 . product_id AS product_id_4 , t0 . category_id AS category_id_5 FROM category_product t0 WHERE t0 . product_id = 113 ;
Copy
0.23 ms (1.70%)
1
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . title AS title_4 , t0 . description AS description_5 , t0 . html AS html_6 , t0 . is_menu AS is_menu_7 , t0 . slug AS slug_8 , t0 . upload_id AS upload_id_9 FROM producer t0 WHERE t0 . id = ?
SELECT t0 . id AS id_1 , t0 . name AS name_2 , t0 . menu_name AS menu_name_3 , t0 . title AS title_4 , t0 . description AS description_5 , t0 . html AS html_6 , t0 . is_menu AS is_menu_7 , t0 . slug AS slug_8 , t0 . upload_id AS upload_id_9 FROM producer t0 WHERE t0 . id = 1 ;
Copy
0.23 ms (1.69%)
1
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . information_block_id AS information_block_id_3 , t0 . product_id AS product_id_4 FROM product_information_block t0 WHERE t0 . product_id = ?
SELECT t0 . id AS id_1 , t0 . sequence AS sequence_2 , t0 . information_block_id AS information_block_id_3 , t0 . product_id AS product_id_4 FROM product_information_block t0 WHERE t0 . product_id = 113 ;
Copy
0.22 ms (1.63%)
1
SELECT t0 . id AS id_1 , t0 . is_variant AS is_variant_2 , t0 . product_id AS product_id_3 , t0 . parameter_group_id AS parameter_group_id_4 FROM product_parameter_group t0 WHERE t0 . product_id = ?
SELECT t0 . id AS id_1 , t0 . is_variant AS is_variant_2 , t0 . product_id AS product_id_3 , t0 . parameter_group_id AS parameter_group_id_4 FROM product_parameter_group t0 WHERE t0 . product_id = 113 ;
Copy