1 |
2.15 ms |
Shrink query
SELECT l0_.id AS id_0, l0_.slug AS [...] FROM lmn_categoriageo l0_ INNER [...] WHERE l1_.slug = ? AND (l2_.url = [...]
SELECT
l0_.id AS id_0,
l0_.slug AS slug_1,
l0_.pubblico AS pubblico_2,
l0_.titolo AS titolo_3,
l0_.h1 AS h1_4,
l0_.h2 AS h2_5,
l0_.meta_title AS meta_title_6,
l0_.meta_keyword AS meta_keyword_7,
l0_.meta_description AS meta_description_8,
l0_.descrizione AS descrizione_9,
l0_.testo AS testo_10,
l0_.created_at AS created_at_11,
l0_.updated_at AS updated_at_12,
l1_.id AS id_13,
l1_.old_id AS old_id_14,
l1_.limitrofi AS limitrofi_15,
l1_.lft AS lft_16,
l1_.lvl AS lvl_17,
l1_.rgt AS rgt_18,
l1_.root AS root_19,
l1_.slug AS slug_20,
l1_.pubblico AS pubblico_21,
l1_.titolo AS titolo_22,
l1_.h1 AS h1_23,
l1_.h2 AS h2_24,
l1_.meta_title AS meta_title_25,
l1_.meta_keyword AS meta_keyword_26,
l1_.meta_description AS meta_description_27,
l1_.descrizione AS descrizione_28,
l1_.testo AS testo_29,
l1_.created_at AS created_at_30,
l1_.updated_at AS updated_at_31,
l2_.id AS id_32,
l2_.tipo AS tipo_33,
l2_.lat AS lat_34,
l2_.lon AS lon_35,
l2_.old_id AS old_id_36,
l2_.url AS url_37,
l2_.main AS main_38,
l2_.slug AS slug_39,
l2_.pubblico AS pubblico_40,
l2_.titolo AS titolo_41,
l2_.h1 AS h1_42,
l2_.h2 AS h2_43,
l2_.meta_title AS meta_title_44,
l2_.meta_keyword AS meta_keyword_45,
l2_.meta_description AS meta_description_46,
l2_.descrizione AS descrizione_47,
l2_.testo AS testo_48,
l2_.created_at AS created_at_49,
l2_.updated_at AS updated_at_50,
l3_.id AS id_51,
l3_.old_id AS old_id_52,
l3_.limitrofi AS limitrofi_53,
l3_.lft AS lft_54,
l3_.lvl AS lvl_55,
l3_.rgt AS rgt_56,
l3_.root AS root_57,
l3_.slug AS slug_58,
l3_.pubblico AS pubblico_59,
l3_.titolo AS titolo_60,
l3_.h1 AS h1_61,
l3_.h2 AS h2_62,
l3_.meta_title AS meta_title_63,
l3_.meta_keyword AS meta_keyword_64,
l3_.meta_description AS meta_description_65,
l3_.descrizione AS descrizione_66,
l3_.testo AS testo_67,
l3_.created_at AS created_at_68,
l3_.updated_at AS updated_at_69,
l0_.geo_id AS geo_id_70,
l0_.categoria_id AS categoria_id_71,
l0_.copertina_id AS copertina_id_72,
l1_.padre_id AS padre_id_73,
l1_.copertina_id AS copertina_id_74,
l2_.regione_id AS regione_id_75,
l2_.provincia_id AS provincia_id_76,
l2_.copertina_id AS copertina_id_77,
l3_.padre_id AS padre_id_78,
l3_.copertina_id AS copertina_id_79
FROM
lmn_categoriageo l0_
INNER JOIN lmn_categoria l1_ ON l0_.categoria_id = l1_.id
INNER JOIN lmn_geo l2_ ON l0_.geo_id = l2_.id
LEFT JOIN lmn_categoria l3_ ON l1_.padre_id = l3_.id
WHERE
l1_.slug = ?
AND (
l2_.url = ?
AND l2_.tipo = 3
)
SELECT l0_.id AS id_0, l0_.slug AS slug_1, l0_.pubblico AS pubblico_2, l0_.titolo AS titolo_3, l0_.h1 AS h1_4, l0_.h2 AS h2_5, l0_.meta_title AS meta_title_6, l0_.meta_keyword AS meta_keyword_7, l0_.meta_description AS meta_description_8, l0_.descrizione AS descrizione_9, l0_.testo AS testo_10, l0_.created_at AS created_at_11, l0_.updated_at AS updated_at_12, l1_.id AS id_13, l1_.old_id AS old_id_14, l1_.limitrofi AS limitrofi_15, l1_.lft AS lft_16, l1_.lvl AS lvl_17, l1_.rgt AS rgt_18, l1_.root AS root_19, l1_.slug AS slug_20, l1_.pubblico AS pubblico_21, l1_.titolo AS titolo_22, l1_.h1 AS h1_23, l1_.h2 AS h2_24, l1_.meta_title AS meta_title_25, l1_.meta_keyword AS meta_keyword_26, l1_.meta_description AS meta_description_27, l1_.descrizione AS descrizione_28, l1_.testo AS testo_29, l1_.created_at AS created_at_30, l1_.updated_at AS updated_at_31, l2_.id AS id_32, l2_.tipo AS tipo_33, l2_.lat AS lat_34, l2_.lon AS lon_35, l2_.old_id AS old_id_36, l2_.url AS url_37, l2_.main AS main_38, l2_.slug AS slug_39, l2_.pubblico AS pubblico_40, l2_.titolo AS titolo_41, l2_.h1 AS h1_42, l2_.h2 AS h2_43, l2_.meta_title AS meta_title_44, l2_.meta_keyword AS meta_keyword_45, l2_.meta_description AS meta_description_46, l2_.descrizione AS descrizione_47, l2_.testo AS testo_48, l2_.created_at AS created_at_49, l2_.updated_at AS updated_at_50, l3_.id AS id_51, l3_.old_id AS old_id_52, l3_.limitrofi AS limitrofi_53, l3_.lft AS lft_54, l3_.lvl AS lvl_55, l3_.rgt AS rgt_56, l3_.root AS root_57, l3_.slug AS slug_58, l3_.pubblico AS pubblico_59, l3_.titolo AS titolo_60, l3_.h1 AS h1_61, l3_.h2 AS h2_62, l3_.meta_title AS meta_title_63, l3_.meta_keyword AS meta_keyword_64, l3_.meta_description AS meta_description_65, l3_.descrizione AS descrizione_66, l3_.testo AS testo_67, l3_.created_at AS created_at_68, l3_.updated_at AS updated_at_69, l0_.geo_id AS geo_id_70, l0_.categoria_id AS categoria_id_71, l0_.copertina_id AS copertina_id_72, l1_.padre_id AS padre_id_73, l1_.copertina_id AS copertina_id_74, l2_.regione_id AS regione_id_75, l2_.provincia_id AS provincia_id_76, l2_.copertina_id AS copertina_id_77, l3_.padre_id AS padre_id_78, l3_.copertina_id AS copertina_id_79 FROM lmn_categoriageo l0_ INNER JOIN lmn_categoria l1_ ON l0_.categoria_id = l1_.id INNER JOIN lmn_geo l2_ ON l0_.geo_id = l2_.id LEFT JOIN lmn_categoria l3_ ON l1_.padre_id = l3_.id WHERE l1_.slug = 'location_matrimonio_originali' AND (l2_.url = 'pavia' AND l2_.tipo = 3)
Parameters: [location_matrimonio_originali, pavia]
[Display runnable query]
[
Explain query
]
|
2 |
1.15 ms |
Shrink query
SELECT DISTINCT (l0_.id) [...] FROM lmn_vetrina l0_ [...] WHERE l0_.pubblico = 1 [...] ORDER BY l4_.posizione ASC
SELECT
DISTINCT (l0_.id) AS sclr_0
FROM
lmn_vetrina l0_
INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.vetrina_id
INNER JOIN lmn_categoria l1_ ON l1_.id = l2_.categoria_id
LEFT JOIN lmn_vetrina_tipi l3_ ON l0_.vetrina_tipo_id = l3_.id
INNER JOIN lmn_vetrina_top l4_ ON l0_.id = l4_.vetrina_id
INNER JOIN lmn_categoria_geo_topposition_rel l6_ ON l4_.id = l6_.vetrinatop_id
INNER JOIN lmn_categoriageo l5_ ON l5_.id = l6_.categoriageo_id
INNER JOIN lmn_categoria l7_ ON l5_.categoria_id = l7_.id
INNER JOIN lmn_geo l8_ ON l5_.geo_id = l8_.id
WHERE
l0_.pubblico = 1
AND l4_.data_inizio <= ?
AND l4_.data_fine >= ?
AND l7_.id = ?
AND l8_.id = ?
ORDER BY
l4_.posizione ASC
SELECT DISTINCT (l0_.id) AS sclr_0 FROM lmn_vetrina l0_ INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.vetrina_id INNER JOIN lmn_categoria l1_ ON l1_.id = l2_.categoria_id LEFT JOIN lmn_vetrina_tipi l3_ ON l0_.vetrina_tipo_id = l3_.id INNER JOIN lmn_vetrina_top l4_ ON l0_.id = l4_.vetrina_id INNER JOIN lmn_categoria_geo_topposition_rel l6_ ON l4_.id = l6_.vetrinatop_id INNER JOIN lmn_categoriageo l5_ ON l5_.id = l6_.categoriageo_id INNER JOIN lmn_categoria l7_ ON l5_.categoria_id = l7_.id INNER JOIN lmn_geo l8_ ON l5_.geo_id = l8_.id WHERE l0_.pubblico = 1 AND l4_.data_inizio <= '2025-04-05 00:00:00' AND l4_.data_fine >= '2025-04-05 00:00:00' AND l7_.id = 25 AND l8_.id = 10560 ORDER BY l4_.posizione ASC
Parameters: ['2025-04-05 00:00:00', '2025-04-05 00:00:00', 25, 10560]
[Display runnable query]
[
Explain query
]
|
3 |
1.64 ms |
Shrink query
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ [...] WHERE l0_.pubblico = 1 AND l4_.id [...]
SELECT
DISTINCT l0_.id AS id_0
FROM
lmn_vetrina_recapito l1_
INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id
INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id
INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id
INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id
INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id
INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id
INNER JOIN lmn_premiums_vetrina l7_ ON l0_.listing_id = l7_.id
AND (
l7_.attivo = 1
AND (
? BETWEEN l7_.data_start
AND l7_.data_end
)
)
WHERE
l0_.pubblico = 1
AND l4_.id = ?
AND l6_.id > 0
AND l3_.id = ?
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id INNER JOIN lmn_premiums_vetrina l7_ ON l0_.listing_id = l7_.id AND (l7_.attivo = 1 AND ('2025-04-05 01:09:54' BETWEEN l7_.data_start AND l7_.data_end)) WHERE l0_.pubblico = 1 AND l4_.id = 25 AND l6_.id > 0 AND l3_.id = 10560
Parameters: ['2025-04-05 01:09:54', 25, 10560]
[Display runnable query]
[
Explain query
]
|
4 |
1.50 ms |
Shrink query
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ [...] WHERE l0_.pubblico = 1 AND l4_.id [...]
SELECT
DISTINCT l0_.id AS id_0
FROM
lmn_vetrina_recapito l1_
INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id
INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id
INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id
INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id
INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id
INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id
WHERE
l0_.pubblico = 1
AND l4_.id = ?
AND l6_.id > 0
AND l0_.listing_id IS NULL
AND l3_.id = ?
AND l1_.id = l0_.recapito_id
AND l0_.updated_at > ?
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id WHERE l0_.pubblico = 1 AND l4_.id = 25 AND l6_.id > 0 AND l0_.listing_id IS NULL AND l3_.id = 10560 AND l1_.id = l0_.recapito_id AND l0_.updated_at > '2014-02-01 00:00:00'
Parameters: [25, 10560, '2014-02-01 00:00:00']
[Display runnable query]
[
Explain query
]
|
5 |
1.05 ms |
Shrink query
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ [...] WHERE l0_.pubblico = 1 AND l4_.id [...]
SELECT
DISTINCT l0_.id AS id_0
FROM
lmn_vetrina_recapito l1_
INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id
INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id
INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id
INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id
INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id
INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id
WHERE
l0_.pubblico = 1
AND l4_.id = ?
AND l6_.id > 0
AND l0_.listing_id IS NULL
AND l3_.id = ?
AND l1_.id = l0_.recapito_id
AND l0_.updated_at < ?
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id WHERE l0_.pubblico = 1 AND l4_.id = 25 AND l6_.id > 0 AND l0_.listing_id IS NULL AND l3_.id = 10560 AND l1_.id = l0_.recapito_id AND l0_.updated_at < '2014-02-01 00:00:00'
Parameters: [25, 10560, '2014-02-01 00:00:00']
[Display runnable query]
[
Explain query
]
|
6 |
0.82 ms |
Shrink query
SELECT DISTINCT (l0_.id) [...] FROM lmn_vetrina l0_ [...] WHERE l0_.pubblico = 1 [...] ORDER BY l0_.id DESC
SELECT
DISTINCT (l0_.id) AS sclr_0
FROM
lmn_vetrina l0_
INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.vetrina_id
INNER JOIN lmn_categoria l1_ ON l1_.id = l2_.categoria_id
LEFT JOIN lmn_vetrina_tipi l3_ ON l0_.vetrina_tipo_id = l3_.id
WHERE
l0_.pubblico = 1
AND l3_.tipo IN (2, 3)
AND l1_.id = ?
AND l0_.geo_id = 10399
ORDER BY
l0_.id DESC
SELECT DISTINCT (l0_.id) AS sclr_0 FROM lmn_vetrina l0_ INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.vetrina_id INNER JOIN lmn_categoria l1_ ON l1_.id = l2_.categoria_id LEFT JOIN lmn_vetrina_tipi l3_ ON l0_.vetrina_tipo_id = l3_.id WHERE l0_.pubblico = 1 AND l3_.tipo IN (2, 3) AND l1_.id = 25 AND l0_.geo_id = 10399 ORDER BY l0_.id DESC
Parameters: [25]
[Display runnable query]
[
Explain query
]
|
7 |
1.47 ms |
Shrink query
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ [...] WHERE l0_.pubblico = 1 AND l4_.id [...]
SELECT
DISTINCT l0_.id AS id_0
FROM
lmn_vetrina_recapito l1_
INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id
INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id
INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id
INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id
INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id
INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id
INNER JOIN lmn_premiums_vetrina l7_ ON l0_.listing_id = l7_.id
AND (
l7_.attivo = 1
AND (
? BETWEEN l7_.data_start
AND l7_.data_end
)
)
WHERE
l0_.pubblico = 1
AND l4_.id = ?
AND l6_.id > 0
AND (
l1_.lat <= ?
AND l1_.lon <= ?
AND l1_.lat >= ?
AND l1_.lon >= ?
)
SELECT DISTINCT l0_.id AS id_0 FROM lmn_vetrina_recapito l1_ INNER JOIN lmn_vetrina l0_ ON l1_.vetrina_id = l0_.id INNER JOIN lmn_geo l2_ ON l1_.geo_id = l2_.id INNER JOIN lmn_geo l3_ ON l2_.provincia_id = l3_.id INNER JOIN lmn_vetrina_categoria_rel l5_ ON l0_.id = l5_.vetrina_id INNER JOIN lmn_categoria l4_ ON l4_.id = l5_.categoria_id INNER JOIN lmn_media_foto l6_ ON l0_.boximage_id = l6_.id INNER JOIN lmn_premiums_vetrina l7_ ON l0_.listing_id = l7_.id AND (l7_.attivo = 1 AND ('2025-04-05 01:09:54' BETWEEN l7_.data_start AND l7_.data_end)) WHERE l0_.pubblico = 1 AND l4_.id = 25 AND l6_.id > 0 AND (l1_.lat <= 45.816530630631 AND l1_.lon <= 10.048764114112 AND l1_.lat >= 44.555269369369 AND l1_.lon >= 8.2644158858878)
Parameters: ['2025-04-05 01:09:54', 25, 45.816530630631, 10.048764114112, 44.555269369369, 8.2644158858878]
[Display runnable query]
[
Explain query
]
|
8 |
0.81 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_organizzazione_categori [...] WHERE l0_.slug = ?
SELECT
l0_.id AS id_0,
l0_.countdown AS countdown_1,
l0_.lft AS lft_2,
l0_.lvl AS lvl_3,
l0_.rgt AS rgt_4,
l0_.root AS root_5,
l0_.box_categorie_operatori AS box_categorie_operatori_6,
l0_.titolo_breve AS titolo_breve_7,
l0_.slug AS slug_8,
l0_.pubblico AS pubblico_9,
l0_.titolo AS titolo_10,
l0_.h1 AS h1_11,
l0_.h2 AS h2_12,
l0_.meta_title AS meta_title_13,
l0_.meta_keyword AS meta_keyword_14,
l0_.meta_description AS meta_description_15,
l0_.descrizione AS descrizione_16,
l0_.testo AS testo_17,
l0_.created_at AS created_at_18,
l0_.updated_at AS updated_at_19,
l0_.padre_id AS padre_id_20,
l0_.categoria_id AS categoria_id_21,
l0_.geo_id AS geo_id_22,
l0_.newsTag_id AS newsTag_id_23,
l0_.forumTag_id AS forumTag_id_24,
l0_.copertina_id AS copertina_id_25
FROM
lmn_organizzazione_categoria l0_
WHERE
l0_.slug = ?
SELECT l0_.id AS id_0, l0_.countdown AS countdown_1, l0_.lft AS lft_2, l0_.lvl AS lvl_3, l0_.rgt AS rgt_4, l0_.root AS root_5, l0_.box_categorie_operatori AS box_categorie_operatori_6, l0_.titolo_breve AS titolo_breve_7, l0_.slug AS slug_8, l0_.pubblico AS pubblico_9, l0_.titolo AS titolo_10, l0_.h1 AS h1_11, l0_.h2 AS h2_12, l0_.meta_title AS meta_title_13, l0_.meta_keyword AS meta_keyword_14, l0_.meta_description AS meta_description_15, l0_.descrizione AS descrizione_16, l0_.testo AS testo_17, l0_.created_at AS created_at_18, l0_.updated_at AS updated_at_19, l0_.padre_id AS padre_id_20, l0_.categoria_id AS categoria_id_21, l0_.geo_id AS geo_id_22, l0_.newsTag_id AS newsTag_id_23, l0_.forumTag_id AS forumTag_id_24, l0_.copertina_id AS copertina_id_25 FROM lmn_organizzazione_categoria l0_ WHERE l0_.slug = 'organizzazione-matrimonio'
Parameters: [organizzazione-matrimonio]
[Display runnable query]
[
Explain query
]
|
9 |
0.86 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_organizzazione_ [...] WHERE l0_.padre_id = ? ORDER BY l0_.titolo ASC
SELECT
l0_.id AS id_0,
l0_.countdown AS countdown_1,
l0_.lft AS lft_2,
l0_.lvl AS lvl_3,
l0_.rgt AS rgt_4,
l0_.root AS root_5,
l0_.box_categorie_operatori AS box_categorie_operatori_6,
l0_.titolo_breve AS titolo_breve_7,
l0_.slug AS slug_8,
l0_.pubblico AS pubblico_9,
l0_.titolo AS titolo_10,
l0_.h1 AS h1_11,
l0_.h2 AS h2_12,
l0_.meta_title AS meta_title_13,
l0_.meta_keyword AS meta_keyword_14,
l0_.meta_description AS meta_description_15,
l0_.descrizione AS descrizione_16,
l0_.testo AS testo_17,
l0_.created_at AS created_at_18,
l0_.updated_at AS updated_at_19,
l0_.padre_id AS padre_id_20,
l0_.categoria_id AS categoria_id_21,
l0_.geo_id AS geo_id_22,
l0_.newsTag_id AS newsTag_id_23,
l0_.forumTag_id AS forumTag_id_24,
l0_.copertina_id AS copertina_id_25
FROM
lmn_organizzazione_categoria l0_
WHERE
l0_.padre_id = ?
ORDER BY
l0_.titolo ASC
SELECT l0_.id AS id_0, l0_.countdown AS countdown_1, l0_.lft AS lft_2, l0_.lvl AS lvl_3, l0_.rgt AS rgt_4, l0_.root AS root_5, l0_.box_categorie_operatori AS box_categorie_operatori_6, l0_.titolo_breve AS titolo_breve_7, l0_.slug AS slug_8, l0_.pubblico AS pubblico_9, l0_.titolo AS titolo_10, l0_.h1 AS h1_11, l0_.h2 AS h2_12, l0_.meta_title AS meta_title_13, l0_.meta_keyword AS meta_keyword_14, l0_.meta_description AS meta_description_15, l0_.descrizione AS descrizione_16, l0_.testo AS testo_17, l0_.created_at AS created_at_18, l0_.updated_at AS updated_at_19, l0_.padre_id AS padre_id_20, l0_.categoria_id AS categoria_id_21, l0_.geo_id AS geo_id_22, l0_.newsTag_id AS newsTag_id_23, l0_.forumTag_id AS forumTag_id_24, l0_.copertina_id AS copertina_id_25 FROM lmn_organizzazione_categoria l0_ WHERE l0_.padre_id = 1 ORDER BY l0_.titolo ASC
Parameters: [1]
[Display runnable query]
[
Explain query
]
|
10 |
0.92 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_news_categoria [...] WHERE l0_.pubblico = ? ORDER BY l0_.titolo ASC
SELECT
l0_.id AS id_0,
l0_.slug AS slug_1,
l0_.pubblico AS pubblico_2,
l0_.titolo AS titolo_3,
l0_.h1 AS h1_4,
l0_.h2 AS h2_5,
l0_.meta_title AS meta_title_6,
l0_.meta_keyword AS meta_keyword_7,
l0_.meta_description AS meta_description_8,
l0_.descrizione AS descrizione_9,
l0_.testo AS testo_10,
l0_.created_at AS created_at_11,
l0_.updated_at AS updated_at_12
FROM
lmn_news_categoria l0_
WHERE
l0_.pubblico = ?
ORDER BY
l0_.titolo ASC
SELECT l0_.id AS id_0, l0_.slug AS slug_1, l0_.pubblico AS pubblico_2, l0_.titolo AS titolo_3, l0_.h1 AS h1_4, l0_.h2 AS h2_5, l0_.meta_title AS meta_title_6, l0_.meta_keyword AS meta_keyword_7, l0_.meta_description AS meta_description_8, l0_.descrizione AS descrizione_9, l0_.testo AS testo_10, l0_.created_at AS created_at_11, l0_.updated_at AS updated_at_12 FROM lmn_news_categoria l0_ WHERE l0_.pubblico = 1 ORDER BY l0_.titolo ASC
Parameters: [1]
[Display runnable query]
[
Explain query
]
|
11 |
0.72 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_gallery l0_ WHERE l0_.pubblico = 1 ORDER BY l0_.titolo ASC
SELECT
l0_.id AS id_0,
l0_.titolo_breve AS titolo_breve_1,
l0_.testoOM AS testoOM_2,
l0_.col_sx AS col_sx_3,
l0_.slug AS slug_4,
l0_.pubblico AS pubblico_5,
l0_.titolo AS titolo_6,
l0_.h1 AS h1_7,
l0_.h2 AS h2_8,
l0_.meta_title AS meta_title_9,
l0_.meta_keyword AS meta_keyword_10,
l0_.meta_description AS meta_description_11,
l0_.descrizione AS descrizione_12,
l0_.testo AS testo_13,
l0_.created_at AS created_at_14,
l0_.updated_at AS updated_at_15,
l0_.categoria_id AS categoria_id_16,
l0_.categoriaOM_id AS categoriaOM_id_17,
l0_.copertina_id AS copertina_id_18
FROM
lmn_gallery l0_
WHERE
l0_.pubblico = 1
ORDER BY
l0_.titolo ASC
SELECT l0_.id AS id_0, l0_.titolo_breve AS titolo_breve_1, l0_.testoOM AS testoOM_2, l0_.col_sx AS col_sx_3, l0_.slug AS slug_4, l0_.pubblico AS pubblico_5, l0_.titolo AS titolo_6, l0_.h1 AS h1_7, l0_.h2 AS h2_8, l0_.meta_title AS meta_title_9, l0_.meta_keyword AS meta_keyword_10, l0_.meta_description AS meta_description_11, l0_.descrizione AS descrizione_12, l0_.testo AS testo_13, l0_.created_at AS created_at_14, l0_.updated_at AS updated_at_15, l0_.categoria_id AS categoria_id_16, l0_.categoriaOM_id AS categoriaOM_id_17, l0_.copertina_id AS copertina_id_18 FROM lmn_gallery l0_ WHERE l0_.pubblico = 1 ORDER BY l0_.titolo ASC
Parameters: { }
[Display runnable query]
[
Explain query
]
|
12 |
13.36 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_categoria l0_ [...] WHERE l0_.lvl = 1 AND [...] ORDER BY l0_.titolo ASC
SELECT
l0_.id AS id_0,
l0_.old_id AS old_id_1,
l0_.limitrofi AS limitrofi_2,
l0_.lft AS lft_3,
l0_.lvl AS lvl_4,
l0_.rgt AS rgt_5,
l0_.root AS root_6,
l0_.slug AS slug_7,
l0_.pubblico AS pubblico_8,
l0_.titolo AS titolo_9,
l0_.h1 AS h1_10,
l0_.h2 AS h2_11,
l0_.meta_title AS meta_title_12,
l0_.meta_keyword AS meta_keyword_13,
l0_.meta_description AS meta_description_14,
l0_.descrizione AS descrizione_15,
l0_.testo AS testo_16,
l0_.created_at AS created_at_17,
l0_.updated_at AS updated_at_18,
COUNT(DISTINCT l1_.id) AS sclr_19
FROM
lmn_categoria l0_
INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.categoria_id
INNER JOIN lmn_vetrina l1_ ON l1_.id = l2_.vetrina_id
INNER JOIN lmn_vetrina_recapito l3_ ON l1_.id = l3_.vetrina_id
INNER JOIN lmn_geo l4_ ON l3_.geo_id = l4_.id
INNER JOIN lmn_geo l5_ ON l4_.provincia_id = l5_.id
INNER JOIN lmn_vetrina_geo_rel l7_ ON l1_.id = l7_.vetrina_id
INNER JOIN lmn_geo l6_ ON l6_.id = l7_.geo_id
INNER JOIN lmn_geo l8_ ON l1_.geo_id = l8_.id
WHERE
l0_.lvl = 1
AND l1_.pubblico = 1
AND (
l4_.tipo = 4
AND l5_.id = ?
)
AND (
(l8_.id = ?)
OR (
l6_.id = ?
AND l1_.premium = 1
)
)
GROUP BY
l0_.id
ORDER BY
l0_.titolo ASC
SELECT l0_.id AS id_0, l0_.old_id AS old_id_1, l0_.limitrofi AS limitrofi_2, l0_.lft AS lft_3, l0_.lvl AS lvl_4, l0_.rgt AS rgt_5, l0_.root AS root_6, l0_.slug AS slug_7, l0_.pubblico AS pubblico_8, l0_.titolo AS titolo_9, l0_.h1 AS h1_10, l0_.h2 AS h2_11, l0_.meta_title AS meta_title_12, l0_.meta_keyword AS meta_keyword_13, l0_.meta_description AS meta_description_14, l0_.descrizione AS descrizione_15, l0_.testo AS testo_16, l0_.created_at AS created_at_17, l0_.updated_at AS updated_at_18, COUNT(DISTINCT l1_.id) AS sclr_19 FROM lmn_categoria l0_ INNER JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.categoria_id INNER JOIN lmn_vetrina l1_ ON l1_.id = l2_.vetrina_id INNER JOIN lmn_vetrina_recapito l3_ ON l1_.id = l3_.vetrina_id INNER JOIN lmn_geo l4_ ON l3_.geo_id = l4_.id INNER JOIN lmn_geo l5_ ON l4_.provincia_id = l5_.id INNER JOIN lmn_vetrina_geo_rel l7_ ON l1_.id = l7_.vetrina_id INNER JOIN lmn_geo l6_ ON l6_.id = l7_.geo_id INNER JOIN lmn_geo l8_ ON l1_.geo_id = l8_.id WHERE l0_.lvl = 1 AND l1_.pubblico = 1 AND (l4_.tipo = 4 AND l5_.id = 10560) AND ((l8_.id = 10560) OR (l6_.id = 10560 AND l1_.premium = 1)) GROUP BY l0_.id ORDER BY l0_.titolo ASC
Parameters: [10560, 10560, 10560]
[Display runnable query]
[
Explain query
]
|
13 |
9.03 ms |
Shrink query
SELECT l0_.id AS id_0, [...] FROM lmn_categoria l0_ [...] WHERE l0_.lvl = 2 AND [...] ORDER BY l0_.titolo ASC
SELECT
l0_.id AS id_0,
l0_.old_id AS old_id_1,
l0_.limitrofi AS limitrofi_2,
l0_.lft AS lft_3,
l0_.lvl AS lvl_4,
l0_.rgt AS rgt_5,
l0_.root AS root_6,
l0_.slug AS slug_7,
l0_.pubblico AS pubblico_8,
l0_.titolo AS titolo_9,
l0_.h1 AS h1_10,
l0_.h2 AS h2_11,
l0_.meta_title AS meta_title_12,
l0_.meta_keyword AS meta_keyword_13,
l0_.meta_description AS meta_description_14,
l0_.descrizione AS descrizione_15,
l0_.testo AS testo_16,
l0_.created_at AS created_at_17,
l0_.updated_at AS updated_at_18,
COUNT(DISTINCT l1_.id) AS sclr_19
FROM
lmn_categoria l0_
LEFT JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.categoria_id
LEFT JOIN lmn_vetrina l1_ ON l1_.id = l2_.vetrina_id
WHERE
l0_.lvl = 2
AND l1_.pubblico = 1
AND l1_.geo_id = ?
GROUP BY
l0_.id
ORDER BY
l0_.titolo ASC
SELECT l0_.id AS id_0, l0_.old_id AS old_id_1, l0_.limitrofi AS limitrofi_2, l0_.lft AS lft_3, l0_.lvl AS lvl_4, l0_.rgt AS rgt_5, l0_.root AS root_6, l0_.slug AS slug_7, l0_.pubblico AS pubblico_8, l0_.titolo AS titolo_9, l0_.h1 AS h1_10, l0_.h2 AS h2_11, l0_.meta_title AS meta_title_12, l0_.meta_keyword AS meta_keyword_13, l0_.meta_description AS meta_description_14, l0_.descrizione AS descrizione_15, l0_.testo AS testo_16, l0_.created_at AS created_at_17, l0_.updated_at AS updated_at_18, COUNT(DISTINCT l1_.id) AS sclr_19 FROM lmn_categoria l0_ LEFT JOIN lmn_vetrina_categoria_rel l2_ ON l0_.id = l2_.categoria_id LEFT JOIN lmn_vetrina l1_ ON l1_.id = l2_.vetrina_id WHERE l0_.lvl = 2 AND l1_.pubblico = 1 AND l1_.geo_id = 10560 GROUP BY l0_.id ORDER BY l0_.titolo ASC
Parameters: [10560]
[Display runnable query]
[
Explain query
]
|