| 2 |
0.24 ms |
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;
|
| 3 |
1.06 ms |
SELECT mtes.*, mls.colore, mls.stato, mtste.sottotipo_elemento
FROM mt_tb_elemento_sga mtes
LEFT JOIN mt_ls_stato mls ON mtes.id_stato = mls.id_stato
LEFT JOIN mt_tb_sottotipo_elemento mtste ON mtste.id_sottotipo_elemento = mtes.id_sottotipo_elemento
WHERE (mtes.id_elemento_sga_padre = '1810') ORDER BY mtes.codice
SELECT mtes.*, mls.colore, mls.stato, mtste.sottotipo_elemento
FROM mt_tb_elemento_sga mtes
LEFT JOIN mt_ls_stato mls ON mtes.id_stato = mls.id_stato
LEFT JOIN mt_tb_sottotipo_elemento mtste ON mtste.id_sottotipo_elemento = mtes.id_sottotipo_elemento
WHERE (mtes.id_elemento_sga_padre = '1810') ORDER BY mtes.codice;
|