1
0.37 ms
SELECT t0 . code AS code_1 , t0 . name AS name_2 , t0 . color AS color_3 , t0 . description AS description_4 , t0 . enabled AS enabled_5 , t0 . hostname AS hostname_6 , t0 . created_at AS created_at_7 , t0 . updated_at AS updated_at_8 , t0 . id AS id_9 , t0 . theme_name AS theme_name_10 , t0 . tax_calculation_strategy AS tax_calculation_strategy_11 , t0 . contact_email AS contact_email_12 , t0 . contact_phone_number AS contact_phone_number_13 , t0 . skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14 , t0 . skipping_payment_step_allowed AS skipping_payment_step_allowed_15 , t0 . account_verification_required AS account_verification_required_16 , t0 . shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17 , t0 . default_locale_id AS default_locale_id_18 , t19 . code AS code_20 , t19 . created_at AS created_at_21 , t19 . updated_at AS updated_at_22 , t19 . id AS id_23 , t0 . base_currency_id AS base_currency_id_24 , t25 . code AS code_26 , t25 . created_at AS created_at_27 , t25 . updated_at AS updated_at_28 , t25 . id AS id_29 , t0 . default_tax_zone_id AS default_tax_zone_id_30 , t0 . menu_taxon_id AS menu_taxon_id_31 , t0 . shop_billing_data_id AS shop_billing_data_id_32 , t0 . channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0 . default_locale_id = t19 . id INNER JOIN sylius_currency t25 ON t0 . base_currency_id = t25 . id WHERE t0 . hostname = ? AND t0 . enabled = ? ORDER BY t0 . id ASC LIMIT 1
Parameters :
[
"cartao.stage.tools "
1
]
SELECT t0 . code AS code_1 , t0 . name AS name_2 , t0 . color AS color_3 , t0 . description AS description_4 , t0 . enabled AS enabled_5 , t0 . hostname AS hostname_6 , t0 . created_at AS created_at_7 , t0 . updated_at AS updated_at_8 , t0 . id AS id_9 , t0 . theme_name AS theme_name_10 , t0 . tax_calculation_strategy AS tax_calculation_strategy_11 , t0 . contact_email AS contact_email_12 , t0 . contact_phone_number AS contact_phone_number_13 , t0 . skipping_shipping_step_allowed AS skipping_shipping_step_allowed_14 , t0 . skipping_payment_step_allowed AS skipping_payment_step_allowed_15 , t0 . account_verification_required AS account_verification_required_16 , t0 . shipping_address_in_checkout_required AS shipping_address_in_checkout_required_17 , t0 . default_locale_id AS default_locale_id_18 , t19 . code AS code_20 , t19 . created_at AS created_at_21 , t19 . updated_at AS updated_at_22 , t19 . id AS id_23 , t0 . base_currency_id AS base_currency_id_24 , t25 . code AS code_26 , t25 . created_at AS created_at_27 , t25 . updated_at AS updated_at_28 , t25 . id AS id_29 , t0 . default_tax_zone_id AS default_tax_zone_id_30 , t0 . menu_taxon_id AS menu_taxon_id_31 , t0 . shop_billing_data_id AS shop_billing_data_id_32 , t0 . channel_price_history_config_id AS channel_price_history_config_id_33 FROM sylius_channel t0 INNER JOIN sylius_locale t19 ON t0 . default_locale_id = t19 . id INNER JOIN sylius_currency t25 ON t0 . base_currency_id = t25 . id WHERE t0 . hostname = 'cartao.stage.tools' AND t0 . enabled = 1 ORDER BY t0 . id ASC LIMIT 1 ;
Copy
2
0.28 ms
SELECT t0 . code AS code_1 , t0 . created_at AS created_at_2 , t0 . updated_at AS updated_at_3 , t0 . id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0 . id = sylius_channel_locales . locale_id WHERE sylius_channel_locales . channel_id = ?
SELECT t0 . code AS code_1 , t0 . created_at AS created_at_2 , t0 . updated_at AS updated_at_3 , t0 . id AS id_4 FROM sylius_locale t0 INNER JOIN sylius_channel_locales ON t0 . id = sylius_channel_locales . locale_id WHERE sylius_channel_locales . channel_id = 1 ;
Copy
3
0.18 ms
SELECT templates FROM tl_theme WHERE templates ! = ''
SELECT templates FROM tl_theme WHERE templates ! = '' ;
Copy
4
0.26 ms
SELECT s0_ . code AS code_0 , s0_ . tree_left AS tree_left_1 , s0_ . tree_right AS tree_right_2 , s0_ . tree_level AS tree_level_3 , s0_ . position AS position_4 , s0_ . enabled AS enabled_5 , s0_ . id AS id_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s1_ . name AS name_9 , s1_ . slug AS slug_10 , s1_ . description AS description_11 , s1_ . id AS id_12 , s1_ . locale AS locale_13 , s0_ . tree_root AS tree_root_14 , s0_ . parent_id AS parent_id_15 , s1_ . translatable_id AS translatable_id_16 FROM sylius_taxon s0_ INNER JOIN sylius_taxon_translation s1_ ON s0_ . id = s1_ . translatable_id WHERE s0_ . enabled = ? AND s1_ . slug = ? AND s1_ . locale = ?
Parameters :
[
1
"t-shirts/women "
"en_US "
]
SELECT s0_ . code AS code_0 , s0_ . tree_left AS tree_left_1 , s0_ . tree_right AS tree_right_2 , s0_ . tree_level AS tree_level_3 , s0_ . position AS position_4 , s0_ . enabled AS enabled_5 , s0_ . id AS id_6 , s0_ . created_at AS created_at_7 , s0_ . updated_at AS updated_at_8 , s1_ . name AS name_9 , s1_ . slug AS slug_10 , s1_ . description AS description_11 , s1_ . id AS id_12 , s1_ . locale AS locale_13 , s0_ . tree_root AS tree_root_14 , s0_ . parent_id AS parent_id_15 , s1_ . translatable_id AS translatable_id_16 FROM sylius_taxon s0_ INNER JOIN sylius_taxon_translation s1_ ON s0_ . id = s1_ . translatable_id WHERE s0_ . enabled = 1 AND s1_ . slug = 't-shirts/women' AND s1_ . locale = 'en_US' ;
Copy
5
1.89 ms
SELECT DISTINCT id_4 FROM (SELECT DISTINCT id_4 , price_36 FROM (SELECT s0_ . code AS code_0 , s0_ . created_at AS created_at_1 , s0_ . updated_at AS updated_at_2 , s0_ . enabled AS enabled_3 , s0_ . id AS id_4 , s0_ . variant_selection_method AS variant_selection_method_5 , s0_ . average_rating AS average_rating_6 , s1_ . name AS name_7 , s1_ . slug AS slug_8 , s1_ . description AS description_9 , s1_ . meta_keywords AS meta_keywords_10 , s1_ . meta_description AS meta_description_11 , s1_ . id AS id_12 , s1_ . short_description AS short_description_13 , s1_ . locale AS locale_14 , s2_ . position AS position_15 , s2_ . id AS id_16 , s3_ . code AS code_17 , s3_ . created_at AS created_at_18 , s3_ . updated_at AS updated_at_19 , s3_ . position AS position_20 , s3_ . enabled AS enabled_21 , s3_ . id AS id_22 , s3_ . version AS version_23 , s3_ . on_hold AS on_hold_24 , s3_ . on_hand AS on_hand_25 , s3_ . tracked AS tracked_26 , s3_ . width AS width_27 , s3_ . height AS height_28 , s3_ . depth AS depth_29 , s3_ . weight AS weight_30 , s3_ . shipping_required AS shipping_required_31 , s3_ . recurring AS recurring_32 , s3_ . recurring_times AS recurring_times_33 , s3_ . recurring_interval AS recurring_interval_34 , s3_ . commodity_code AS commodity_code_35 , s4_ . price AS price_36 , s4_ . original_price AS original_price_37 , s4_ . minimum_price AS minimum_price_38 , s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 , s4_ . channel_code AS channel_code_40 , s4_ . id AS id_41 , s5_ . code AS code_42 , s5_ . tree_left AS tree_left_43 , s5_ . tree_right AS tree_right_44 , s5_ . tree_level AS tree_level_45 , s5_ . position AS position_46 , s5_ . enabled AS enabled_47 , s5_ . id AS id_48 , s5_ . created_at AS created_at_49 , s5_ . updated_at AS updated_at_50 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id AND (s1_ . locale = ? ) INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id WHERE s5_ . tree_left > = ? AND s5_ . tree_right < = ? AND s5_ . tree_root = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s6_ WHERE s6_ . product_id = s0_ . id AND s6_ . channel_id IN (? )) AND s0_ . enabled = ? AND s4_ . channel_code = ? AND (s3_ . position IN (SELECT min (s7_ . position ) AS sclr_51 FROM sylius_product s8_ INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id WHERE s8_ . id = s0_ . id AND s7_ . enabled = ? )) ORDER BY s2_ . id ASC , s3_ . position ASC , s3_ . id ASC , s4_ . id ASC ) dctrn_result_inner ORDER BY price_36 DESC ) dctrn_result LIMIT 9
Parameters :
[
"en_US "
5
6
1
1
1
"FASHION_WEB "
1
]
SELECT
DISTINCT id_4
FROM
(
SELECT
DISTINCT id_4 ,
price_36
FROM
(
SELECT
s0_ . code AS code_0 ,
s0_ . created_at AS created_at_1 ,
s0_ . updated_at AS updated_at_2 ,
s0_ . enabled AS enabled_3 ,
s0_ . id AS id_4 ,
s0_ . variant_selection_method AS variant_selection_method_5 ,
s0_ . average_rating AS average_rating_6 ,
s1_ . name AS name_7 ,
s1_ . slug AS slug_8 ,
s1_ . description AS description_9 ,
s1_ . meta_keywords AS meta_keywords_10 ,
s1_ . meta_description AS meta_description_11 ,
s1_ . id AS id_12 ,
s1_ . short_description AS short_description_13 ,
s1_ . locale AS locale_14 ,
s2_ . position AS position_15 ,
s2_ . id AS id_16 ,
s3_ . code AS code_17 ,
s3_ . created_at AS created_at_18 ,
s3_ . updated_at AS updated_at_19 ,
s3_ . position AS position_20 ,
s3_ . enabled AS enabled_21 ,
s3_ . id AS id_22 ,
s3_ . version AS version_23 ,
s3_ . on_hold AS on_hold_24 ,
s3_ . on_hand AS on_hand_25 ,
s3_ . tracked AS tracked_26 ,
s3_ . width AS width_27 ,
s3_ . height AS height_28 ,
s3_ . depth AS depth_29 ,
s3_ . weight AS weight_30 ,
s3_ . shipping_required AS shipping_required_31 ,
s3_ . recurring AS recurring_32 ,
s3_ . recurring_times AS recurring_times_33 ,
s3_ . recurring_interval AS recurring_interval_34 ,
s3_ . commodity_code AS commodity_code_35 ,
s4_ . price AS price_36 ,
s4_ . original_price AS original_price_37 ,
s4_ . minimum_price AS minimum_price_38 ,
s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 ,
s4_ . channel_code AS channel_code_40 ,
s4_ . id AS id_41 ,
s5_ . code AS code_42 ,
s5_ . tree_left AS tree_left_43 ,
s5_ . tree_right AS tree_right_44 ,
s5_ . tree_level AS tree_level_45 ,
s5_ . position AS position_46 ,
s5_ . enabled AS enabled_47 ,
s5_ . id AS id_48 ,
s5_ . created_at AS created_at_49 ,
s5_ . updated_at AS updated_at_50
FROM
sylius_product s0_
INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id
AND (s1_ . locale = ? )
INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id
INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id
INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id
INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id
WHERE
s5_ . tree_left > = ?
AND s5_ . tree_right < = ?
AND s5_ . tree_root = ?
AND EXISTS (
SELECT
1
FROM
sylius_product_channels s6_
WHERE
s6_ . product_id = s0_ . id
AND s6_ . channel_id IN (? )
)
AND s0_ . enabled = ?
AND s4_ . channel_code = ?
AND (
s3_ . position IN (
SELECT
min (s7_ . position ) AS sclr_51
FROM
sylius_product s8_
INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id
WHERE
s8_ . id = s0_ . id
AND s7_ . enabled = ?
)
)
ORDER BY
s2_ . id ASC ,
s3_ . position ASC ,
s3_ . id ASC ,
s4_ . id ASC
) dctrn_result_inner
ORDER BY
price_36 DESC
) dctrn_result
LIMIT
9
Copy
SELECT DISTINCT id_4 FROM (SELECT DISTINCT id_4 , price_36 FROM (SELECT s0_ . code AS code_0 , s0_ . created_at AS created_at_1 , s0_ . updated_at AS updated_at_2 , s0_ . enabled AS enabled_3 , s0_ . id AS id_4 , s0_ . variant_selection_method AS variant_selection_method_5 , s0_ . average_rating AS average_rating_6 , s1_ . name AS name_7 , s1_ . slug AS slug_8 , s1_ . description AS description_9 , s1_ . meta_keywords AS meta_keywords_10 , s1_ . meta_description AS meta_description_11 , s1_ . id AS id_12 , s1_ . short_description AS short_description_13 , s1_ . locale AS locale_14 , s2_ . position AS position_15 , s2_ . id AS id_16 , s3_ . code AS code_17 , s3_ . created_at AS created_at_18 , s3_ . updated_at AS updated_at_19 , s3_ . position AS position_20 , s3_ . enabled AS enabled_21 , s3_ . id AS id_22 , s3_ . version AS version_23 , s3_ . on_hold AS on_hold_24 , s3_ . on_hand AS on_hand_25 , s3_ . tracked AS tracked_26 , s3_ . width AS width_27 , s3_ . height AS height_28 , s3_ . depth AS depth_29 , s3_ . weight AS weight_30 , s3_ . shipping_required AS shipping_required_31 , s3_ . recurring AS recurring_32 , s3_ . recurring_times AS recurring_times_33 , s3_ . recurring_interval AS recurring_interval_34 , s3_ . commodity_code AS commodity_code_35 , s4_ . price AS price_36 , s4_ . original_price AS original_price_37 , s4_ . minimum_price AS minimum_price_38 , s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 , s4_ . channel_code AS channel_code_40 , s4_ . id AS id_41 , s5_ . code AS code_42 , s5_ . tree_left AS tree_left_43 , s5_ . tree_right AS tree_right_44 , s5_ . tree_level AS tree_level_45 , s5_ . position AS position_46 , s5_ . enabled AS enabled_47 , s5_ . id AS id_48 , s5_ . created_at AS created_at_49 , s5_ . updated_at AS updated_at_50 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id AND (s1_ . locale = 'en_US' ) INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id WHERE s5_ . tree_left > = 5 AND s5_ . tree_right < = 6 AND s5_ . tree_root = 1 AND EXISTS (SELECT 1 FROM sylius_product_channels s6_ WHERE s6_ . product_id = s0_ . id AND s6_ . channel_id IN (1 )) AND s0_ . enabled = 1 AND s4_ . channel_code = 'FASHION_WEB' AND (s3_ . position IN (SELECT min (s7_ . position ) AS sclr_51 FROM sylius_product s8_ INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id WHERE s8_ . id = s0_ . id AND s7_ . enabled = 1 )) ORDER BY s2_ . id ASC , s3_ . position ASC , s3_ . id ASC , s4_ . id ASC ) dctrn_result_inner ORDER BY price_36 DESC ) dctrn_result LIMIT 9 ;
Copy
6
1.53 ms
SELECT s0_ . code AS code_0 , s0_ . created_at AS created_at_1 , s0_ . updated_at AS updated_at_2 , s0_ . enabled AS enabled_3 , s0_ . id AS id_4 , s0_ . variant_selection_method AS variant_selection_method_5 , s0_ . average_rating AS average_rating_6 , s1_ . name AS name_7 , s1_ . slug AS slug_8 , s1_ . description AS description_9 , s1_ . meta_keywords AS meta_keywords_10 , s1_ . meta_description AS meta_description_11 , s1_ . id AS id_12 , s1_ . short_description AS short_description_13 , s1_ . locale AS locale_14 , s2_ . position AS position_15 , s2_ . id AS id_16 , s3_ . code AS code_17 , s3_ . created_at AS created_at_18 , s3_ . updated_at AS updated_at_19 , s3_ . position AS position_20 , s3_ . enabled AS enabled_21 , s3_ . id AS id_22 , s3_ . version AS version_23 , s3_ . on_hold AS on_hold_24 , s3_ . on_hand AS on_hand_25 , s3_ . tracked AS tracked_26 , s3_ . width AS width_27 , s3_ . height AS height_28 , s3_ . depth AS depth_29 , s3_ . weight AS weight_30 , s3_ . shipping_required AS shipping_required_31 , s3_ . recurring AS recurring_32 , s3_ . recurring_times AS recurring_times_33 , s3_ . recurring_interval AS recurring_interval_34 , s3_ . commodity_code AS commodity_code_35 , s4_ . price AS price_36 , s4_ . original_price AS original_price_37 , s4_ . minimum_price AS minimum_price_38 , s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 , s4_ . channel_code AS channel_code_40 , s4_ . id AS id_41 , s0_ . main_taxon_id AS main_taxon_id_42 , s0_ . product_type_id AS product_type_id_43 , s1_ . translatable_id AS translatable_id_44 , s2_ . product_id AS product_id_45 , s2_ . taxon_id AS taxon_id_46 , s3_ . product_id AS product_id_47 , s3_ . tax_category_id AS tax_category_id_48 , s3_ . shipping_category_id AS shipping_category_id_49 , s4_ . product_variant_id AS product_variant_id_50 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id AND (s1_ . locale = ? ) INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id WHERE s5_ . tree_left > = ? AND s5_ . tree_right < = ? AND s5_ . tree_root = ? AND EXISTS (SELECT 1 FROM sylius_product_channels s6_ WHERE s6_ . product_id = s0_ . id AND s6_ . channel_id IN (? )) AND s0_ . enabled = ? AND s4_ . channel_code = ? AND (s3_ . position IN (SELECT min (s7_ . position ) AS sclr_51 FROM sylius_product s8_ INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id WHERE s8_ . id = s0_ . id AND s7_ . enabled = ? )) AND s0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? ) ORDER BY s4_ . price DESC , s2_ . id ASC , s3_ . position ASC , s3_ . id ASC , s4_ . id ASC
Parameters :
[
"en_US "
5
6
1
1
1
"FASHION_WEB "
1
8
10
3
9
12
6
2
4
11
]
SELECT
s0_ . code AS code_0 ,
s0_ . created_at AS created_at_1 ,
s0_ . updated_at AS updated_at_2 ,
s0_ . enabled AS enabled_3 ,
s0_ . id AS id_4 ,
s0_ . variant_selection_method AS variant_selection_method_5 ,
s0_ . average_rating AS average_rating_6 ,
s1_ . name AS name_7 ,
s1_ . slug AS slug_8 ,
s1_ . description AS description_9 ,
s1_ . meta_keywords AS meta_keywords_10 ,
s1_ . meta_description AS meta_description_11 ,
s1_ . id AS id_12 ,
s1_ . short_description AS short_description_13 ,
s1_ . locale AS locale_14 ,
s2_ . position AS position_15 ,
s2_ . id AS id_16 ,
s3_ . code AS code_17 ,
s3_ . created_at AS created_at_18 ,
s3_ . updated_at AS updated_at_19 ,
s3_ . position AS position_20 ,
s3_ . enabled AS enabled_21 ,
s3_ . id AS id_22 ,
s3_ . version AS version_23 ,
s3_ . on_hold AS on_hold_24 ,
s3_ . on_hand AS on_hand_25 ,
s3_ . tracked AS tracked_26 ,
s3_ . width AS width_27 ,
s3_ . height AS height_28 ,
s3_ . depth AS depth_29 ,
s3_ . weight AS weight_30 ,
s3_ . shipping_required AS shipping_required_31 ,
s3_ . recurring AS recurring_32 ,
s3_ . recurring_times AS recurring_times_33 ,
s3_ . recurring_interval AS recurring_interval_34 ,
s3_ . commodity_code AS commodity_code_35 ,
s4_ . price AS price_36 ,
s4_ . original_price AS original_price_37 ,
s4_ . minimum_price AS minimum_price_38 ,
s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 ,
s4_ . channel_code AS channel_code_40 ,
s4_ . id AS id_41 ,
s0_ . main_taxon_id AS main_taxon_id_42 ,
s0_ . product_type_id AS product_type_id_43 ,
s1_ . translatable_id AS translatable_id_44 ,
s2_ . product_id AS product_id_45 ,
s2_ . taxon_id AS taxon_id_46 ,
s3_ . product_id AS product_id_47 ,
s3_ . tax_category_id AS tax_category_id_48 ,
s3_ . shipping_category_id AS shipping_category_id_49 ,
s4_ . product_variant_id AS product_variant_id_50
FROM
sylius_product s0_
INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id
AND (s1_ . locale = ? )
INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id
INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id
INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id
INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id
WHERE
s5_ . tree_left > = ?
AND s5_ . tree_right < = ?
AND s5_ . tree_root = ?
AND EXISTS (
SELECT
1
FROM
sylius_product_channels s6_
WHERE
s6_ . product_id = s0_ . id
AND s6_ . channel_id IN (? )
)
AND s0_ . enabled = ?
AND s4_ . channel_code = ?
AND (
s3_ . position IN (
SELECT
min (s7_ . position ) AS sclr_51
FROM
sylius_product s8_
INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id
WHERE
s8_ . id = s0_ . id
AND s7_ . enabled = ?
)
)
AND s0_ . id IN (? , ? , ? , ? , ? , ? , ? , ? , ? )
ORDER BY
s4_ . price DESC ,
s2_ . id ASC ,
s3_ . position ASC ,
s3_ . id ASC ,
s4_ . id ASC
Copy
SELECT s0_ . code AS code_0 , s0_ . created_at AS created_at_1 , s0_ . updated_at AS updated_at_2 , s0_ . enabled AS enabled_3 , s0_ . id AS id_4 , s0_ . variant_selection_method AS variant_selection_method_5 , s0_ . average_rating AS average_rating_6 , s1_ . name AS name_7 , s1_ . slug AS slug_8 , s1_ . description AS description_9 , s1_ . meta_keywords AS meta_keywords_10 , s1_ . meta_description AS meta_description_11 , s1_ . id AS id_12 , s1_ . short_description AS short_description_13 , s1_ . locale AS locale_14 , s2_ . position AS position_15 , s2_ . id AS id_16 , s3_ . code AS code_17 , s3_ . created_at AS created_at_18 , s3_ . updated_at AS updated_at_19 , s3_ . position AS position_20 , s3_ . enabled AS enabled_21 , s3_ . id AS id_22 , s3_ . version AS version_23 , s3_ . on_hold AS on_hold_24 , s3_ . on_hand AS on_hand_25 , s3_ . tracked AS tracked_26 , s3_ . width AS width_27 , s3_ . height AS height_28 , s3_ . depth AS depth_29 , s3_ . weight AS weight_30 , s3_ . shipping_required AS shipping_required_31 , s3_ . recurring AS recurring_32 , s3_ . recurring_times AS recurring_times_33 , s3_ . recurring_interval AS recurring_interval_34 , s3_ . commodity_code AS commodity_code_35 , s4_ . price AS price_36 , s4_ . original_price AS original_price_37 , s4_ . minimum_price AS minimum_price_38 , s4_ . lowest_price_before_discount AS lowest_price_before_discount_39 , s4_ . channel_code AS channel_code_40 , s4_ . id AS id_41 , s0_ . main_taxon_id AS main_taxon_id_42 , s0_ . product_type_id AS product_type_id_43 , s1_ . translatable_id AS translatable_id_44 , s2_ . product_id AS product_id_45 , s2_ . taxon_id AS taxon_id_46 , s3_ . product_id AS product_id_47 , s3_ . tax_category_id AS tax_category_id_48 , s3_ . shipping_category_id AS shipping_category_id_49 , s4_ . product_variant_id AS product_variant_id_50 FROM sylius_product s0_ INNER JOIN sylius_product_translation s1_ ON s0_ . id = s1_ . translatable_id AND (s1_ . locale = 'en_US' ) INNER JOIN sylius_product_taxon s2_ ON s0_ . id = s2_ . product_id INNER JOIN sylius_taxon s5_ ON s2_ . taxon_id = s5_ . id INNER JOIN sylius_product_variant s3_ ON s0_ . id = s3_ . product_id INNER JOIN sylius_channel_pricing s4_ ON s3_ . id = s4_ . product_variant_id WHERE s5_ . tree_left > = 5 AND s5_ . tree_right < = 6 AND s5_ . tree_root = 1 AND EXISTS (SELECT 1 FROM sylius_product_channels s6_ WHERE s6_ . product_id = s0_ . id AND s6_ . channel_id IN (1 )) AND s0_ . enabled = 1 AND s4_ . channel_code = 'FASHION_WEB' AND (s3_ . position IN (SELECT min (s7_ . position ) AS sclr_51 FROM sylius_product s8_ INNER JOIN sylius_product_variant s7_ ON s8_ . id = s7_ . product_id WHERE s8_ . id = s0_ . id AND s7_ . enabled = 1 )) AND s0_ . id IN (8 , 10 , 3 , 9 , 12 , 6 , 2 , 4 , 11 ) ORDER BY s4_ . price DESC , s2_ . id ASC , s3_ . position ASC , s3_ . id ASC , s4_ . id ASC ;
Copy
7
0.36 ms
SELECT tl_page . * FROM tl_page WHERE (tl_page . type = 'root' AND (tl_page . dns = ? OR tl_page . dns = '' ))
Parameters :
[
"cartao.stage.tools "
]
SELECT tl_page . * FROM tl_page WHERE (tl_page . type = 'root' AND (tl_page . dns = 'cartao.stage.tools' OR tl_page . dns = '' ));
Copy
8
0.11 ms
SELECT DATABASE ()
9
53.17 ms
SELECT
c . TABLE_NAME ,
c . COLUMN_NAME AS field ,
IF (
c . DATA_TYPE = 'longtext'
AND EXISTS (
SELECT * FROM information_schema . CHECK_CONSTRAINTS i_c
WHERE i_c . CONSTRAINT_SCHEMA = 'cartao_s1_cartao'
AND i_c . TABLE_NAME = c . TABLE_NAME
AND i_c . CHECK_CLAUSE = CONCAT (
'json_valid(`' ,
c . COLUMN_NAME ,
'`)'
)
),
'json' ,
c . DATA_TYPE
) AS type ,
c . COLUMN_TYPE ,
c . CHARACTER_MAXIMUM_LENGTH ,
c . CHARACTER_OCTET_LENGTH ,
c . NUMERIC_PRECISION ,
c . NUMERIC_SCALE ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = ? AND t . TABLE_SCHEMA = ?
AND t . TABLE_TYPE = 'BASE TABLE'
ORDER BY c . TABLE_NAME ,
c . ORDINAL_POSITION
Parameters :
[
"cartao_s1_cartao "
"cartao_s1_cartao "
]
SELECT
c . TABLE_NAME ,
c . COLUMN_NAME AS field ,
IF (
c . DATA_TYPE = 'longtext'
AND EXISTS (
SELECT * FROM information_schema . CHECK_CONSTRAINTS i_c
WHERE i_c . CONSTRAINT_SCHEMA = 'cartao_s1_cartao'
AND i_c . TABLE_NAME = c . TABLE_NAME
AND i_c . CHECK_CLAUSE = CONCAT (
'json_valid(`' ,
c . COLUMN_NAME ,
'`)'
)
),
'json' ,
c . DATA_TYPE
) AS type ,
c . COLUMN_TYPE ,
c . CHARACTER_MAXIMUM_LENGTH ,
c . CHARACTER_OCTET_LENGTH ,
c . NUMERIC_PRECISION ,
c . NUMERIC_SCALE ,
c . IS_NULLABLE AS `null` ,
c . COLUMN_KEY AS `key` ,
c . COLUMN_DEFAULT AS `default` ,
c . EXTRA ,
c . COLUMN_COMMENT AS comment ,
c . CHARACTER_SET_NAME AS characterset ,
c . COLLATION_NAME AS collation
FROM information_schema . COLUMNS c
INNER JOIN information_schema . TABLES t
ON t . TABLE_NAME = c . TABLE_NAME
WHERE c . TABLE_SCHEMA = 'cartao_s1_cartao' AND t . TABLE_SCHEMA = 'cartao_s1_cartao'
AND t . TABLE_TYPE = 'BASE TABLE'
ORDER BY c . TABLE_NAME ,
c . ORDINAL_POSITION ;
Copy
10
1.91 ms
SELECT
TABLE_NAME ,
NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS
WHERE TABLE_SCHEMA = ?
ORDER BY TABLE_NAME ,
INDEX_NAME ,
SEQ_IN_INDEX
Parameters :
[
"cartao_s1_cartao "
]
SELECT
TABLE_NAME ,
NON_UNIQUE AS Non_Unique ,
INDEX_NAME AS Key_name ,
COLUMN_NAME AS Column_Name ,
SUB_PART AS Sub_Part ,
INDEX_TYPE AS Index_Type
FROM information_schema . STATISTICS
WHERE TABLE_SCHEMA = 'cartao_s1_cartao'
ORDER BY TABLE_NAME ,
INDEX_NAME ,
SEQ_IN_INDEX ;
Copy
11
3.92 ms
SELECT
k . TABLE_NAME ,
k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION ,
c . UPDATE_RULE ,
c . DELETE_RULE
FROM information_schema . key_column_usage k
INNER JOIN information_schema . referential_constraints c
ON c . CONSTRAINT_NAME = k . CONSTRAINT_NAME
AND c . TABLE_NAME = k . TABLE_NAME
WHERE k . TABLE_SCHEMA = ? AND c . CONSTRAINT_SCHEMA = ?
AND k . REFERENCED_COLUMN_NAME IS NOT NULL
ORDER BY k . TABLE_NAME ,
k . CONSTRAINT_NAME ,
k . ORDINAL_POSITION
Parameters :
[
"cartao_s1_cartao "
"cartao_s1_cartao "
]
SELECT
k . TABLE_NAME ,
k . CONSTRAINT_NAME ,
k . COLUMN_NAME ,
k . REFERENCED_TABLE_NAME ,
k . REFERENCED_COLUMN_NAME ,
k . ORDINAL_POSITION ,
c . UPDATE_RULE ,
c . DELETE_RULE
FROM information_schema . key_column_usage k
INNER JOIN information_schema . referential_constraints c
ON c . CONSTRAINT_NAME = k . CONSTRAINT_NAME
AND c . TABLE_NAME = k . TABLE_NAME
WHERE k . TABLE_SCHEMA = 'cartao_s1_cartao' AND c . CONSTRAINT_SCHEMA = 'cartao_s1_cartao'
AND k . REFERENCED_COLUMN_NAME IS NOT NULL
ORDER BY k . TABLE_NAME ,
k . CONSTRAINT_NAME ,
k . ORDINAL_POSITION ;
Copy
12
21.49 ms
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . FULL_COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = ? AND t . TABLE_TYPE = 'BASE TABLE'
Parameters :
[
"cartao_s1_cartao "
]
SELECT t . TABLE_NAME ,
t . ENGINE ,
t . AUTO_INCREMENT ,
t . TABLE_COMMENT ,
t . CREATE_OPTIONS ,
t . TABLE_COLLATION ,
ccsa . CHARACTER_SET_NAME
FROM information_schema . TABLES t
INNER JOIN information_schema . COLLATION_CHARACTER_SET_APPLICABILITY ccsa
ON ccsa . FULL_COLLATION_NAME = t . TABLE_COLLATION WHERE t . TABLE_SCHEMA = 'cartao_s1_cartao' AND t . TABLE_TYPE = 'BASE TABLE' ;
Copy
13
0.35 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . alias = ? OR tl_page . alias = ?
Parameters :
[
"index "
"/ "
]
SELECT tl_page . * FROM tl_page WHERE tl_page . alias = 'index' OR tl_page . alias = '/' ;
Copy
14
0.28 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . id = ? AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) LIMIT 0 , 1
SELECT tl_page . * FROM tl_page WHERE tl_page . id = 1 AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) LIMIT 0 , 1 ;
Copy
15
0.33 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . pid = ? AND tl_page . type = ? AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) ORDER BY tl_page . sorting LIMIT 0 , 1
Parameters :
[
1
"sylius_shop "
]
SELECT tl_page . * FROM tl_page WHERE tl_page . pid = 1 AND tl_page . type = 'sylius_shop' AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) ORDER BY tl_page . sorting LIMIT 0 , 1 ;
Copy
16
0.20 ms
SELECT tl_layout . * FROM tl_layout WHERE tl_layout . `id` = ? LIMIT 0 , 1
SELECT tl_layout . * FROM tl_layout WHERE tl_layout . `id` = 1 LIMIT 0 , 1 ;
Copy
17
0.16 ms
SELECT * FROM tl_theme WHERE tl_theme . `id` = ? LIMIT 0 , 1
SELECT * FROM tl_theme WHERE tl_theme . `id` = 1 LIMIT 0 , 1 ;
Copy
18
0.24 ms
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = ? LIMIT 0 , 1
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = 10 LIMIT 0 , 1 ;
Copy
19
0.17 ms
SELECT creuvaScheme , creuvaVariant , creuvaRadius FROM tl_page WHERE id = ?
SELECT creuvaScheme , creuvaVariant , creuvaRadius FROM tl_page WHERE id = 1 ;
Copy
20
0.19 ms
SELECT s0_ . code AS code_0 , s0_ . name AS name_1 , s0_ . hostname AS hostname_2 FROM sylius_channel s0_
SELECT s0_ . code AS code_0 , s0_ . name AS name_1 , s0_ . hostname AS hostname_2 FROM sylius_channel s0_ ;
Copy
21
0.23 ms
SELECT tl_article . * FROM tl_article WHERE tl_article . `pid` = ? ORDER BY tl_article . sorting
SELECT tl_article . * FROM tl_article WHERE tl_article . `pid` = 10 ORDER BY tl_article . sorting ;
Copy
22
0.24 ms
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = ? LIMIT 0 , 1
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = 2 LIMIT 0 , 1 ;
Copy
23
0.41 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . pid = ? AND tl_page . type ! = 'root' AND tl_page . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) ORDER BY tl_page . sorting LIMIT 0 , 1
SELECT tl_page . * FROM tl_page WHERE tl_page . pid = 1 AND tl_page . type ! = 'root' AND tl_page . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND tl_page . published = 1 AND (tl_page . start = '' OR tl_page . start < = 1793431980 ) AND (tl_page . stop = '' OR tl_page . stop > 1793431980 ) ORDER BY tl_page . sorting LIMIT 0 , 1 ;
Copy
24
0.17 ms
SELECT * FROM tl_files WHERE tl_files . uuid = UNHEX (? ) LIMIT 0 , 1
SELECT * FROM tl_files WHERE tl_files . uuid = UNHEX ('' ) LIMIT 0 , 1 ;
Copy
25
0.25 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . alias = CAST (? AS BINARY ) LIMIT 0 , 1
Parameters :
[
"theme-shop "
]
SELECT tl_page . * FROM tl_page WHERE tl_page . alias = CAST ('theme-shop' AS BINARY ) LIMIT 0 , 1 ;
Copy
26
0.22 ms
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = ? LIMIT 0 , 1
SELECT tl_module . * FROM tl_module WHERE tl_module . `id` = 1 LIMIT 0 , 1 ;
Copy
27
0.50 ms
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = ? AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = 1 AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting ;
Copy
28
0.26 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (3 , 11 , 12 , 13 , 16 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '2,3,10,11,12,13,16' )
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (3 , 11 , 12 , 13 , 16 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '2,3,10,11,12,13,16' );
Copy
29
0.42 ms
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = ? AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = 3 AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting ;
Copy
30
0.28 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (4 , 5 , 6 , 7 , 8 , 9 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '4,5,6,7,8,9' )
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (4 , 5 , 6 , 7 , 8 , 9 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '4,5,6,7,8,9' );
Copy
31
0.37 ms
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = ? AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting
SELECT p1 . id , EXISTS (SELECT * FROM tl_page p2 WHERE p2 . pid = p1 . id AND p2 . type ! = 'root' AND p2 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p2 . hide = 0 AND p2 . published = 1 AND (p2 . start = '' OR p2 . start < = 1793431980 ) AND (p2 . stop = '' OR p2 . stop > 1793431980 )) AS hasSubpages FROM tl_page p1 WHERE p1 . pid = 13 AND p1 . type ! = 'root' AND p1 . type NOT IN ('error_401' , 'error_403' , 'error_404' , 'error_503' ) AND p1 . hide = 0 AND p1 . published = 1 AND (p1 . start = '' OR p1 . start < = 1793431980 ) AND (p1 . stop = '' OR p1 . stop > 1793431980 ) ORDER BY p1 . sorting ;
Copy
32
0.24 ms
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (15 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '15' )
SELECT tl_page . * FROM tl_page WHERE tl_page . id IN (15 ) ORDER BY FIND_IN_SET (`tl_page` . `id` , '15' );
Copy