1.37 ms (67.86%)
|
1 |
SELECT pt_tb_mm_property.*, pt_tb_mm_property.id_mm_property AS DT_RowId,
pt_tb_property_category.property_category, pt_tb_property.property,
(SELECT COUNT(*) FROM pt_tb_property_structure WHERE pt_tb_property.id_property = id_property) AS cnt
FROM pt_tb_mm_property
LEFT JOIN pt_tb_property ON pt_tb_mm_property.id_property = pt_tb_property.id_property
LEFT JOIN pt_tb_property_category ON pt_tb_property.id_property_category = pt_tb_property_category.id_property_category
WHERE (source_table = 'mt_tb_elemento_sga') AND (source_id = '1810')
ORDER BY property_category, property
SELECT pt_tb_mm_property.*, pt_tb_mm_property.id_mm_property AS DT_RowId,
pt_tb_property_category.property_category, pt_tb_property.property,
(SELECT COUNT(*) FROM pt_tb_property_structure WHERE pt_tb_property.id_property = id_property) AS cnt
FROM pt_tb_mm_property
LEFT JOIN pt_tb_property ON pt_tb_mm_property.id_property = pt_tb_property.id_property
LEFT JOIN pt_tb_property_category ON pt_tb_property.id_property_category = pt_tb_property_category.id_property_category
WHERE (source_table = 'mt_tb_elemento_sga') AND (source_id = '1810')
ORDER BY property_category, property;
|
0.39 ms (19.23%)
|
1 |
SELECT t0.id_user AS id_user_1, t0.email AS email_2, t0.password AS password_3, t0.roles AS roles_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.is_active AS is_active_7, t0.is_suspended AS is_suspended_8, t0.last_access AS last_access_9, t0.image_profile AS image_profile_10, t0.token_coda AS token_coda_11, t0.scadenza_account AS scadenza_account_12, t0.limita_ip AS limita_ip_13, t0.num_login AS num_login_14, t0.num_login_max AS num_login_max_15 FROM `tb_users` t0 WHERE t0.id_user = ?
SELECT t0.id_user AS id_user_1, t0.email AS email_2, t0.password AS password_3, t0.roles AS roles_4, t0.firstname AS firstname_5, t0.lastname AS lastname_6, t0.is_active AS is_active_7, t0.is_suspended AS is_suspended_8, t0.last_access AS last_access_9, t0.image_profile AS image_profile_10, t0.token_coda AS token_coda_11, t0.scadenza_account AS scadenza_account_12, t0.limita_ip AS limita_ip_13, t0.num_login AS num_login_14, t0.num_login_max AS num_login_max_15 FROM `tb_users` t0 WHERE t0.id_user = 1;
|