31.46 ms (78.05%)
|
546 |
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.description AS description_3, t0.code_ean AS code_ean_4, t0.image_name AS image_name_5, t0.updated_at AS updated_at_6, t0.couleur_principale AS couleur_principale_7, t0.couleur_secondaire AS couleur_secondaire_8, t0.reduction_prix AS reduction_prix_9, t0.reduction_unite AS reduction_unite_10, t0.hidden AS hidden_11, t0.gamme_id AS gamme_id_12, t0.groupement_id AS groupement_id_13 FROM produit t0 INNER JOIN operation_produit ON t0.id = operation_produit.produit_id WHERE operation_produit.operation_id = ?
SELECT t0.id AS id_1, t0.titre AS titre_2, t0.description AS description_3, t0.code_ean AS code_ean_4, t0.image_name AS image_name_5, t0.updated_at AS updated_at_6, t0.couleur_principale AS couleur_principale_7, t0.couleur_secondaire AS couleur_secondaire_8, t0.reduction_prix AS reduction_prix_9, t0.reduction_unite AS reduction_unite_10, t0.hidden AS hidden_11, t0.gamme_id AS gamme_id_12, t0.groupement_id AS groupement_id_13 FROM produit t0 INNER JOIN operation_produit ON t0.id = operation_produit.produit_id WHERE operation_produit.operation_id = 25307;
|
4.09 ms (10.14%)
|
1 |
SELECT p0_.id AS id_0, p0_.annee AS annee_1, p0_.groupement AS groupement_2, (SELECT COUNT(o1_.id) AS sclr_4 FROM operation o1_ WHERE o1_.plan_trade_id = p0_.id) AS sclr_3 FROM plan_trade p0_ LEFT JOIN operation o2_ ON p0_.id = o2_.plan_trade_id WHERE p0_.id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) ORDER BY sclr_3 DESC, p0_.id DESC
Parameters: [
1171
1165
1172
1169
1167
1164
1163
1158
1243
1230
1166
1159
1244
1234
1229
1215
1205
1201
1196
1183
]
SELECT p0_.id AS id_0, p0_.annee AS annee_1, p0_.groupement AS groupement_2, (SELECT COUNT(o1_.id) AS sclr_4 FROM operation o1_ WHERE o1_.plan_trade_id = p0_.id) AS sclr_3 FROM plan_trade p0_ LEFT JOIN operation o2_ ON p0_.id = o2_.plan_trade_id WHERE p0_.id IN (1171, 1165, 1172, 1169, 1167, 1164, 1163, 1158, 1243, 1230, 1166, 1159, 1244, 1234, 1229, 1215, 1205, 1201, 1196, 1183) ORDER BY sclr_3 DESC, p0_.id DESC;
|
2.00 ms (4.96%)
|
20 |
SELECT t0.id AS id_1, t0.path AS path_2, t0.updated_at AS updated_at_3, t0.correspondances AS correspondances_4 FROM logo t0
SELECT t0.id AS id_1, t0.path AS path_2, t0.updated_at AS updated_at_3, t0.correspondances AS correspondances_4 FROM logo t0;
|
1.36 ms (3.38%)
|
1 |
SELECT DISTINCT p0_.id AS id_0, (SELECT COUNT(o1_.id) AS sclr_2 FROM operation o1_ WHERE o1_.plan_trade_id = p0_.id) AS sclr_1, p0_.id AS id_3 FROM plan_trade p0_ LEFT JOIN operation o2_ ON p0_.id = o2_.plan_trade_id ORDER BY sclr_1 DESC, p0_.id DESC LIMIT 20
SELECT DISTINCT p0_.id AS id_0, (SELECT COUNT(o1_.id) AS sclr_2 FROM operation o1_ WHERE o1_.plan_trade_id = p0_.id) AS sclr_1, p0_.id AS id_3 FROM plan_trade p0_ LEFT JOIN operation o2_ ON p0_.id = o2_.plan_trade_id ORDER BY sclr_1 DESC, p0_.id DESC LIMIT 20;
|
0.70 ms (1.74%)
|
1 |
SELECT t0.id AS id_1, t0.mois AS mois_2, t0.plan_trade_id AS plan_trade_id_3 FROM operation t0 WHERE t0.plan_trade_id IN (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
Parameters: [
1171
1165
1172
1169
1167
1164
1163
1158
1243
1230
1166
1159
1244
1234
1229
1215
1205
1201
1196
1183
]
SELECT t0.id AS id_1, t0.mois AS mois_2, t0.plan_trade_id AS plan_trade_id_3 FROM operation t0 WHERE t0.plan_trade_id IN (1171, 1165, 1172, 1169, 1167, 1164, 1163, 1158, 1243, 1230, 1166, 1159, 1244, 1234, 1229, 1215, 1205, 1201, 1196, 1183);
|
0.70 ms (1.73%)
|
1 |
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM plan_trade p0_ LEFT JOIN operation o1_ ON p0_.id = o1_.plan_trade_id
SELECT count(DISTINCT p0_.id) AS sclr_0 FROM plan_trade p0_ LEFT JOIN operation o1_ ON p0_.id = o1_.plan_trade_id;
|