| 2 |
0.27 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;
|
| 4 |
5.68 ms |
SELECT mt_tb_elemento_sga_ruolo.*, mt_ls_ruolo.ruolo, mt_ls_tipo_notifica.tipo_notifica,
mt_ls_frequenza_aggiornamento.frequenza_aggiornamento, tb_users.firstname, tb_users.lastname
FROM mt_tb_elemento_sga_ruolo
LEFT JOIN mt_ls_ruolo ON mt_tb_elemento_sga_ruolo.id_ruolo = mt_ls_ruolo.id_ruolo
LEFT JOIN mt_ls_tipo_notifica ON mt_tb_elemento_sga_ruolo.id_tipo_notifica = mt_ls_tipo_notifica.id_tipo_notifica
LEFT JOIN mt_ls_frequenza_aggiornamento ON mt_tb_elemento_sga_ruolo.id_frequenza_aggiornamento = mt_ls_frequenza_aggiornamento.id_frequenza_aggiornamento
LEFT JOIN tb_users ON mt_tb_elemento_sga_ruolo.id_user = tb_users.id_user
WHERE (id_elemento_sga = 1810) ORDER BY tb_users.lastname
SELECT mt_tb_elemento_sga_ruolo.*, mt_ls_ruolo.ruolo, mt_ls_tipo_notifica.tipo_notifica,
mt_ls_frequenza_aggiornamento.frequenza_aggiornamento, tb_users.firstname, tb_users.lastname
FROM mt_tb_elemento_sga_ruolo
LEFT JOIN mt_ls_ruolo ON mt_tb_elemento_sga_ruolo.id_ruolo = mt_ls_ruolo.id_ruolo
LEFT JOIN mt_ls_tipo_notifica ON mt_tb_elemento_sga_ruolo.id_tipo_notifica = mt_ls_tipo_notifica.id_tipo_notifica
LEFT JOIN mt_ls_frequenza_aggiornamento ON mt_tb_elemento_sga_ruolo.id_frequenza_aggiornamento = mt_ls_frequenza_aggiornamento.id_frequenza_aggiornamento
LEFT JOIN tb_users ON mt_tb_elemento_sga_ruolo.id_user = tb_users.id_user
WHERE (id_elemento_sga = 1810) ORDER BY tb_users.lastname;
|