0.74 ms (22.68%)
|
1 |
SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.lot_number AS lot_number_2, s0_.created_at AS created_at_3, s0_.expire_at AS expire_at_4, s0_.quantite_disponible AS quantite_disponible_5, s0_.quantite_initial AS quantite_initial_6, u1_.id AS id_7, u1_.username AS username_8, u1_.roles AS roles_9, u1_.password AS password_10, u1_.nom_prenom AS nom_prenom_11, u1_.created_at AS created_at_12, u1_.is_enabled AS is_enabled_13, u1_.zone AS zone_14, u1_.last_activity_at AS last_activity_at_15, u1_.total_commandes_value AS total_commandes_value_16, u1_.total_stock_value AS total_stock_value_17, u1_.paiement_left AS paiement_left_18, u1_.has_device AS has_device_19, u1_.is_admin AS is_admin_20, u1_.phone_number AS phone_number_21, u1_.last_livraison_at AS last_livraison_at_22, u1_.code_collaborateur AS code_collaborateur_23, u1_.last_update_at AS last_update_at_24, u1_.adresse AS adresse_25, u1_.total_commission AS total_commission_26, u1_.total_survente AS total_survente_27, u1_.initial_command_value AS initial_command_value_28, u1_.category_name AS category_name_29, p2_.id AS id_30, p2_.code AS code_31, p2_.designation AS designation_32, p2_.description AS description_33, p2_.unit AS unit_34, p2_.price AS price_35, p2_.filename AS filename_36, p2_.color AS color_37, p2_.survente AS survente_38, p2_.is_enabled AS is_enabled_39, p2_.code_barre AS code_barre_40, p2_.price_ht AS price_ht_41, p2_.last_update_at AS last_update_at_42, s0_.commercial_id AS commercial_id_43, s0_.product_id AS product_id_44, u1_.utilisateur_role_id AS utilisateur_role_id_45 FROM stock_commercial s0_ INNER JOIN utilisateur u1_ ON s0_.commercial_id = u1_.id INNER JOIN product p2_ ON s0_.product_id = p2_.id ORDER BY s0_.id ASC LIMIT 20
SELECT
s0_.id AS id_0,
s0_.code AS code_1,
s0_.lot_number AS lot_number_2,
s0_.created_at AS created_at_3,
s0_.expire_at AS expire_at_4,
s0_.quantite_disponible AS quantite_disponible_5,
s0_.quantite_initial AS quantite_initial_6,
u1_.id AS id_7,
u1_.username AS username_8,
u1_.roles AS roles_9,
u1_.password AS password_10,
u1_.nom_prenom AS nom_prenom_11,
u1_.created_at AS created_at_12,
u1_.is_enabled AS is_enabled_13,
u1_.zone AS zone_14,
u1_.last_activity_at AS last_activity_at_15,
u1_.total_commandes_value AS total_commandes_value_16,
u1_.total_stock_value AS total_stock_value_17,
u1_.paiement_left AS paiement_left_18,
u1_.has_device AS has_device_19,
u1_.is_admin AS is_admin_20,
u1_.phone_number AS phone_number_21,
u1_.last_livraison_at AS last_livraison_at_22,
u1_.code_collaborateur AS code_collaborateur_23,
u1_.last_update_at AS last_update_at_24,
u1_.adresse AS adresse_25,
u1_.total_commission AS total_commission_26,
u1_.total_survente AS total_survente_27,
u1_.initial_command_value AS initial_command_value_28,
u1_.category_name AS category_name_29,
p2_.id AS id_30,
p2_.code AS code_31,
p2_.designation AS designation_32,
p2_.description AS description_33,
p2_.unit AS unit_34,
p2_.price AS price_35,
p2_.filename AS filename_36,
p2_.color AS color_37,
p2_.survente AS survente_38,
p2_.is_enabled AS is_enabled_39,
p2_.code_barre AS code_barre_40,
p2_.price_ht AS price_ht_41,
p2_.last_update_at AS last_update_at_42,
s0_.commercial_id AS commercial_id_43,
s0_.product_id AS product_id_44,
u1_.utilisateur_role_id AS utilisateur_role_id_45
FROM
stock_commercial s0_
INNER JOIN utilisateur u1_ ON s0_.commercial_id = u1_.id
INNER JOIN product p2_ ON s0_.product_id = p2_.id
ORDER BY
s0_.id ASC
LIMIT
20
SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.lot_number AS lot_number_2, s0_.created_at AS created_at_3, s0_.expire_at AS expire_at_4, s0_.quantite_disponible AS quantite_disponible_5, s0_.quantite_initial AS quantite_initial_6, u1_.id AS id_7, u1_.username AS username_8, u1_.roles AS roles_9, u1_.password AS password_10, u1_.nom_prenom AS nom_prenom_11, u1_.created_at AS created_at_12, u1_.is_enabled AS is_enabled_13, u1_.zone AS zone_14, u1_.last_activity_at AS last_activity_at_15, u1_.total_commandes_value AS total_commandes_value_16, u1_.total_stock_value AS total_stock_value_17, u1_.paiement_left AS paiement_left_18, u1_.has_device AS has_device_19, u1_.is_admin AS is_admin_20, u1_.phone_number AS phone_number_21, u1_.last_livraison_at AS last_livraison_at_22, u1_.code_collaborateur AS code_collaborateur_23, u1_.last_update_at AS last_update_at_24, u1_.adresse AS adresse_25, u1_.total_commission AS total_commission_26, u1_.total_survente AS total_survente_27, u1_.initial_command_value AS initial_command_value_28, u1_.category_name AS category_name_29, p2_.id AS id_30, p2_.code AS code_31, p2_.designation AS designation_32, p2_.description AS description_33, p2_.unit AS unit_34, p2_.price AS price_35, p2_.filename AS filename_36, p2_.color AS color_37, p2_.survente AS survente_38, p2_.is_enabled AS is_enabled_39, p2_.code_barre AS code_barre_40, p2_.price_ht AS price_ht_41, p2_.last_update_at AS last_update_at_42, s0_.commercial_id AS commercial_id_43, s0_.product_id AS product_id_44, u1_.utilisateur_role_id AS utilisateur_role_id_45 FROM stock_commercial s0_ INNER JOIN utilisateur u1_ ON s0_.commercial_id = u1_.id INNER JOIN product p2_ ON s0_.product_id = p2_.id ORDER BY s0_.id ASC LIMIT 20;
|
0.66 ms (20.37%)
|
1 |
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom_prenom AS nom_prenom_5, t0.created_at AS created_at_6, t0.is_enabled AS is_enabled_7, t0.zone AS zone_8, t0.last_activity_at AS last_activity_at_9, t0.total_commandes_value AS total_commandes_value_10, t0.total_stock_value AS total_stock_value_11, t0.paiement_left AS paiement_left_12, t0.has_device AS has_device_13, t0.is_admin AS is_admin_14, t0.phone_number AS phone_number_15, t0.last_livraison_at AS last_livraison_at_16, t0.code_collaborateur AS code_collaborateur_17, t0.last_update_at AS last_update_at_18, t0.adresse AS adresse_19, t0.total_commission AS total_commission_20, t0.total_survente AS total_survente_21, t0.initial_command_value AS initial_command_value_22, t0.category_name AS category_name_23, t0.utilisateur_role_id AS utilisateur_role_id_24 FROM utilisateur t0 WHERE t0.id = ?
SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.nom_prenom AS nom_prenom_5, t0.created_at AS created_at_6, t0.is_enabled AS is_enabled_7, t0.zone AS zone_8, t0.last_activity_at AS last_activity_at_9, t0.total_commandes_value AS total_commandes_value_10, t0.total_stock_value AS total_stock_value_11, t0.paiement_left AS paiement_left_12, t0.has_device AS has_device_13, t0.is_admin AS is_admin_14, t0.phone_number AS phone_number_15, t0.last_livraison_at AS last_livraison_at_16, t0.code_collaborateur AS code_collaborateur_17, t0.last_update_at AS last_update_at_18, t0.adresse AS adresse_19, t0.total_commission AS total_commission_20, t0.total_survente AS total_survente_21, t0.initial_command_value AS initial_command_value_22, t0.category_name AS category_name_23, t0.utilisateur_role_id AS utilisateur_role_id_24 FROM utilisateur t0 WHERE t0.id = 1;
|