| 1 |
35.04 ms |
SELECT c0_.data_creazione AS data_creazione_0, c0_.data_ultima_modifica AS data_ultima_modifica_1, c0_.erp_cod AS erp_cod_2, c0_.auto_code AS auto_code_3, c0_.text_code AS text_code_4, c0_.supplier_code AS supplier_code_5, c0_.old_id_utente AS old_id_utente_6, c0_.priority AS priority_7, c0_.description AS description_8, c0_.cognome AS cognome_9, c0_.nome AS nome_10, c0_.search_label AS search_label_11, c0_.company AS company_12, c0_.partita_iva AS partita_iva_13, c0_.codice_fiscale AS codice_fiscale_14, c0_.rea AS rea_15, c0_.e_invoice_code AS e_invoice_code_16, c0_.note AS note_17, c0_.unpaid_note AS unpaid_note_18, c0_.documentation_note AS documentation_note_19, c0_.birth_date AS birth_date_20, c0_.sdd_sent_date AS sdd_sent_date_21, c0_.birth_place AS birth_place_22, c0_.last_transfer_date AS last_transfer_date_23, c0_.last_transfer_check AS last_transfer_check_24, c0_.last_transfer_email_date AS last_transfer_email_date_25, c0_.last_sdd_date AS last_sdd_date_26, c0_.last_stats_email_date AS last_stats_email_date_27, c0_.last_recall_date AS last_recall_date_28, c0_.mandate_id AS mandate_id_29, c0_.mandate_date AS mandate_date_30, c0_.sdd_seq_tp AS sdd_seq_tp_31, c0_.iban AS iban_32, c0_.iban_owner AS iban_owner_33, c0_.iban_owner_fiscal_code AS iban_owner_fiscal_code_34, c0_.iban_bic AS iban_bic_35, c0_.iban_currency_causal AS iban_currency_causal_36, c0_.gender_slug AS gender_slug_37, c0_.payment_supplier_note AS payment_supplier_note_38, c0_.payment_customer_note AS payment_customer_note_39, c0_.deploy_org_prefix AS deploy_org_prefix_40, c0_.customer_order AS customer_order_41, c0_.supplier_order AS supplier_order_42, c0_.margin AS margin_43, c0_.slug AS slug_44, c0_.loyalty_category_slug AS loyalty_category_slug_45, c0_.periodicity AS periodicity_46, c0_.is_cliente AS is_cliente_47, c0_.is_supplier AS is_supplier_48, c0_.is_teacher AS is_teacher_49, c0_.is_visible_to_all AS is_visible_to_all_50, c0_.is_student AS is_student_51, c0_.is_temporary AS is_temporary_52, c0_.is_standby AS is_standby_53, c0_.is_ceased_activity AS is_ceased_activity_54, c0_.is_persona AS is_persona_55, c0_.is_player AS is_player_56, c0_.is_privacy_accepted AS is_privacy_accepted_57, c0_.is_charged_cost AS is_charged_cost_58, c0_.is_vat_excluded AS is_vat_excluded_59, c0_.is_qualified AS is_qualified_60, c0_.is_multi_payment_supplier AS is_multi_payment_supplier_61, c0_.is_multi_payment_customer AS is_multi_payment_customer_62, c0_.is_stamp_applied AS is_stamp_applied_63, c0_.is_active AS is_active_64, c0_.charged_cost AS charged_cost_65, c0_.is_charged_cost_excluded AS is_charged_cost_excluded_66, c0_.manual_balance AS manual_balance_67, c0_.external_logo_path AS external_logo_path_68, c0_.vat_nature AS vat_nature_69, c0_.vat_chargeability AS vat_chargeability_70, c0_.saved_data AS saved_data_71, c0_.normative_reference AS normative_reference_72, c0_.doc_reference AS doc_reference_73, c0_.doc_reference_number AS doc_reference_number_74, c0_.doc_reference_date AS doc_reference_date_75, c0_.title AS title_76, c0_.indirizzo AS indirizzo_77, c0_.localita AS localita_78, c0_.regione AS regione_79, c0_.cap AS cap_80, c0_.historicized AS historicized_81, c0_.id_contatto AS id_contatto_82, u1_.id AS id_83, u1_.erp_cod AS erp_cod_84, u1_.username AS username_85, u1_.password AS password_86, u1_.nome AS nome_87, u1_.sigla AS sigla_88, u1_.email AS email_89, u1_.lingua AS lingua_90, u1_.color AS color_91, u1_.initial_page AS initial_page_92, u1_.login_token AS login_token_93, u1_.google_authenticator_secret AS google_authenticator_secret_94, u1_.planner_priority AS planner_priority_95, u1_.is_cliente AS is_cliente_96, u1_.is_tester AS is_tester_97, u1_.is_sa AS is_sa_98, u1_.is_first_access AS is_first_access_99, u1_.is_google_authenticator_enable AS is_google_authenticator_enable_100, u1_.is2fa_email_enable AS is2fa_email_enable_101, u1_.is_active AS is_active_102, u1_.settings AS settings_103, u1_.is_operator AS is_operator_104, u1_.is_standby AS is_standby_105, u1_.is_accredia AS is_accredia_106, u1_.historicization_enabled AS historicization_enabled_107, u1_.check_consistence AS check_consistence_108, u1_.planner_start_date AS planner_start_date_109, u1_.standby_start_date AS standby_start_date_110, u1_.standby_end_date AS standby_end_date_111, u1_.last_check_consistence AS last_check_consistence_112, u1_.last_access_date AS last_access_date_113, u1_.last_app_access_date AS last_app_access_date_114, u1_.data_creazione AS data_creazione_115, u1_.data_ultima_modifica AS data_ultima_modifica_116, c0_.id_creatore AS id_creatore_117, c0_.id_aggiornatore AS id_aggiornatore_118, c0_.id_organizzazione AS id_organizzazione_119, c0_.id_chart_account AS id_chart_account_120, c0_.id_customer_category AS id_customer_category_121, c0_.id_agent_contact_category AS id_agent_contact_category_122, c0_.id_agent AS id_agent_123, c0_.id_birth_municipality AS id_birth_municipality_124, c0_.id_citizenship_municipality AS id_citizenship_municipality_125, c0_.id_vat_type AS id_vat_type_126, c0_.id_logo AS id_logo_127, c0_.id_agency AS id_agency_128, c0_.id_iban_currency_causal_code AS id_iban_currency_causal_code_129, c0_.id_contact_source AS id_contact_source_130, c0_.id_contact_group AS id_contact_group_131, c0_.id_payment_method AS id_payment_method_132, c0_.id_termine_pagamento AS id_termine_pagamento_133, c0_.id_supplier_payment_method AS id_supplier_payment_method_134, c0_.id_supplier_payment_term AS id_supplier_payment_term_135, c0_.id_subscription AS id_subscription_136, c0_.id_reference AS id_reference_137, c0_.id_provincia AS id_provincia_138, c0_.id_nazione AS id_nazione_139, u1_.id_avatar AS id_avatar_140, u1_.id_sign AS id_sign_141, u1_.id_contatto AS id_contatto_142, u1_.id_agent AS id_agent_143, u1_.id_stage_model_category AS id_stage_model_category_144, u1_.id_creatore AS id_creatore_145, u1_.id_aggiornatore AS id_aggiornatore_146 FROM contatto c0_ LEFT JOIN user u1_ ON c0_.id_contatto = u1_.id_contatto WHERE c0_.is_active = 1 ORDER BY c0_.cognome ASC
SELECT
c0_.data_creazione AS data_creazione_0,
c0_.data_ultima_modifica AS data_ultima_modifica_1,
c0_.erp_cod AS erp_cod_2,
c0_.auto_code AS auto_code_3,
c0_.text_code AS text_code_4,
c0_.supplier_code AS supplier_code_5,
c0_.old_id_utente AS old_id_utente_6,
c0_.priority AS priority_7,
c0_.description AS description_8,
c0_.cognome AS cognome_9,
c0_.nome AS nome_10,
c0_.search_label AS search_label_11,
c0_.company AS company_12,
c0_.partita_iva AS partita_iva_13,
c0_.codice_fiscale AS codice_fiscale_14,
c0_.rea AS rea_15,
c0_.e_invoice_code AS e_invoice_code_16,
c0_.note AS note_17,
c0_.unpaid_note AS unpaid_note_18,
c0_.documentation_note AS documentation_note_19,
c0_.birth_date AS birth_date_20,
c0_.sdd_sent_date AS sdd_sent_date_21,
c0_.birth_place AS birth_place_22,
c0_.last_transfer_date AS last_transfer_date_23,
c0_.last_transfer_check AS last_transfer_check_24,
c0_.last_transfer_email_date AS last_transfer_email_date_25,
c0_.last_sdd_date AS last_sdd_date_26,
c0_.last_stats_email_date AS last_stats_email_date_27,
c0_.last_recall_date AS last_recall_date_28,
c0_.mandate_id AS mandate_id_29,
c0_.mandate_date AS mandate_date_30,
c0_.sdd_seq_tp AS sdd_seq_tp_31,
c0_.iban AS iban_32,
c0_.iban_owner AS iban_owner_33,
c0_.iban_owner_fiscal_code AS iban_owner_fiscal_code_34,
c0_.iban_bic AS iban_bic_35,
c0_.iban_currency_causal AS iban_currency_causal_36,
c0_.gender_slug AS gender_slug_37,
c0_.payment_supplier_note AS payment_supplier_note_38,
c0_.payment_customer_note AS payment_customer_note_39,
c0_.deploy_org_prefix AS deploy_org_prefix_40,
c0_.customer_order AS customer_order_41,
c0_.supplier_order AS supplier_order_42,
c0_.margin AS margin_43,
c0_.slug AS slug_44,
c0_.loyalty_category_slug AS loyalty_category_slug_45,
c0_.periodicity AS periodicity_46,
c0_.is_cliente AS is_cliente_47,
c0_.is_supplier AS is_supplier_48,
c0_.is_teacher AS is_teacher_49,
c0_.is_visible_to_all AS is_visible_to_all_50,
c0_.is_student AS is_student_51,
c0_.is_temporary AS is_temporary_52,
c0_.is_standby AS is_standby_53,
c0_.is_ceased_activity AS is_ceased_activity_54,
c0_.is_persona AS is_persona_55,
c0_.is_player AS is_player_56,
c0_.is_privacy_accepted AS is_privacy_accepted_57,
c0_.is_charged_cost AS is_charged_cost_58,
c0_.is_vat_excluded AS is_vat_excluded_59,
c0_.is_qualified AS is_qualified_60,
c0_.is_multi_payment_supplier AS is_multi_payment_supplier_61,
c0_.is_multi_payment_customer AS is_multi_payment_customer_62,
c0_.is_stamp_applied AS is_stamp_applied_63,
c0_.is_active AS is_active_64,
c0_.charged_cost AS charged_cost_65,
c0_.is_charged_cost_excluded AS is_charged_cost_excluded_66,
c0_.manual_balance AS manual_balance_67,
c0_.external_logo_path AS external_logo_path_68,
c0_.vat_nature AS vat_nature_69,
c0_.vat_chargeability AS vat_chargeability_70,
c0_.saved_data AS saved_data_71,
c0_.normative_reference AS normative_reference_72,
c0_.doc_reference AS doc_reference_73,
c0_.doc_reference_number AS doc_reference_number_74,
c0_.doc_reference_date AS doc_reference_date_75,
c0_.title AS title_76,
c0_.indirizzo AS indirizzo_77,
c0_.localita AS localita_78,
c0_.regione AS regione_79,
c0_.cap AS cap_80,
c0_.historicized AS historicized_81,
c0_.id_contatto AS id_contatto_82,
u1_.id AS id_83,
u1_.erp_cod AS erp_cod_84,
u1_.username AS username_85,
u1_.password AS password_86,
u1_.nome AS nome_87,
u1_.sigla AS sigla_88,
u1_.email AS email_89,
u1_.lingua AS lingua_90,
u1_.color AS color_91,
u1_.initial_page AS initial_page_92,
u1_.login_token AS login_token_93,
u1_.google_authenticator_secret AS google_authenticator_secret_94,
u1_.planner_priority AS planner_priority_95,
u1_.is_cliente AS is_cliente_96,
u1_.is_tester AS is_tester_97,
u1_.is_sa AS is_sa_98,
u1_.is_first_access AS is_first_access_99,
u1_.is_google_authenticator_enable AS is_google_authenticator_enable_100,
u1_.is2fa_email_enable AS is2fa_email_enable_101,
u1_.is_active AS is_active_102,
u1_.settings AS settings_103,
u1_.is_operator AS is_operator_104,
u1_.is_standby AS is_standby_105,
u1_.is_accredia AS is_accredia_106,
u1_.historicization_enabled AS historicization_enabled_107,
u1_.check_consistence AS check_consistence_108,
u1_.planner_start_date AS planner_start_date_109,
u1_.standby_start_date AS standby_start_date_110,
u1_.standby_end_date AS standby_end_date_111,
u1_.last_check_consistence AS last_check_consistence_112,
u1_.last_access_date AS last_access_date_113,
u1_.last_app_access_date AS last_app_access_date_114,
u1_.data_creazione AS data_creazione_115,
u1_.data_ultima_modifica AS data_ultima_modifica_116,
c0_.id_creatore AS id_creatore_117,
c0_.id_aggiornatore AS id_aggiornatore_118,
c0_.id_organizzazione AS id_organizzazione_119,
c0_.id_chart_account AS id_chart_account_120,
c0_.id_customer_category AS id_customer_category_121,
c0_.id_agent_contact_category AS id_agent_contact_category_122,
c0_.id_agent AS id_agent_123,
c0_.id_birth_municipality AS id_birth_municipality_124,
c0_.id_citizenship_municipality AS id_citizenship_municipality_125,
c0_.id_vat_type AS id_vat_type_126,
c0_.id_logo AS id_logo_127,
c0_.id_agency AS id_agency_128,
c0_.id_iban_currency_causal_code AS id_iban_currency_causal_code_129,
c0_.id_contact_source AS id_contact_source_130,
c0_.id_contact_group AS id_contact_group_131,
c0_.id_payment_method AS id_payment_method_132,
c0_.id_termine_pagamento AS id_termine_pagamento_133,
c0_.id_supplier_payment_method AS id_supplier_payment_method_134,
c0_.id_supplier_payment_term AS id_supplier_payment_term_135,
c0_.id_subscription AS id_subscription_136,
c0_.id_reference AS id_reference_137,
c0_.id_provincia AS id_provincia_138,
c0_.id_nazione AS id_nazione_139,
u1_.id_avatar AS id_avatar_140,
u1_.id_sign AS id_sign_141,
u1_.id_contatto AS id_contatto_142,
u1_.id_agent AS id_agent_143,
u1_.id_stage_model_category AS id_stage_model_category_144,
u1_.id_creatore AS id_creatore_145,
u1_.id_aggiornatore AS id_aggiornatore_146
FROM
contatto c0_
LEFT JOIN user u1_ ON c0_.id_contatto = u1_.id_contatto
WHERE
c0_.is_active = 1
ORDER BY
c0_.cognome ASC
SELECT c0_.data_creazione AS data_creazione_0, c0_.data_ultima_modifica AS data_ultima_modifica_1, c0_.erp_cod AS erp_cod_2, c0_.auto_code AS auto_code_3, c0_.text_code AS text_code_4, c0_.supplier_code AS supplier_code_5, c0_.old_id_utente AS old_id_utente_6, c0_.priority AS priority_7, c0_.description AS description_8, c0_.cognome AS cognome_9, c0_.nome AS nome_10, c0_.search_label AS search_label_11, c0_.company AS company_12, c0_.partita_iva AS partita_iva_13, c0_.codice_fiscale AS codice_fiscale_14, c0_.rea AS rea_15, c0_.e_invoice_code AS e_invoice_code_16, c0_.note AS note_17, c0_.unpaid_note AS unpaid_note_18, c0_.documentation_note AS documentation_note_19, c0_.birth_date AS birth_date_20, c0_.sdd_sent_date AS sdd_sent_date_21, c0_.birth_place AS birth_place_22, c0_.last_transfer_date AS last_transfer_date_23, c0_.last_transfer_check AS last_transfer_check_24, c0_.last_transfer_email_date AS last_transfer_email_date_25, c0_.last_sdd_date AS last_sdd_date_26, c0_.last_stats_email_date AS last_stats_email_date_27, c0_.last_recall_date AS last_recall_date_28, c0_.mandate_id AS mandate_id_29, c0_.mandate_date AS mandate_date_30, c0_.sdd_seq_tp AS sdd_seq_tp_31, c0_.iban AS iban_32, c0_.iban_owner AS iban_owner_33, c0_.iban_owner_fiscal_code AS iban_owner_fiscal_code_34, c0_.iban_bic AS iban_bic_35, c0_.iban_currency_causal AS iban_currency_causal_36, c0_.gender_slug AS gender_slug_37, c0_.payment_supplier_note AS payment_supplier_note_38, c0_.payment_customer_note AS payment_customer_note_39, c0_.deploy_org_prefix AS deploy_org_prefix_40, c0_.customer_order AS customer_order_41, c0_.supplier_order AS supplier_order_42, c0_.margin AS margin_43, c0_.slug AS slug_44, c0_.loyalty_category_slug AS loyalty_category_slug_45, c0_.periodicity AS periodicity_46, c0_.is_cliente AS is_cliente_47, c0_.is_supplier AS is_supplier_48, c0_.is_teacher AS is_teacher_49, c0_.is_visible_to_all AS is_visible_to_all_50, c0_.is_student AS is_student_51, c0_.is_temporary AS is_temporary_52, c0_.is_standby AS is_standby_53, c0_.is_ceased_activity AS is_ceased_activity_54, c0_.is_persona AS is_persona_55, c0_.is_player AS is_player_56, c0_.is_privacy_accepted AS is_privacy_accepted_57, c0_.is_charged_cost AS is_charged_cost_58, c0_.is_vat_excluded AS is_vat_excluded_59, c0_.is_qualified AS is_qualified_60, c0_.is_multi_payment_supplier AS is_multi_payment_supplier_61, c0_.is_multi_payment_customer AS is_multi_payment_customer_62, c0_.is_stamp_applied AS is_stamp_applied_63, c0_.is_active AS is_active_64, c0_.charged_cost AS charged_cost_65, c0_.is_charged_cost_excluded AS is_charged_cost_excluded_66, c0_.manual_balance AS manual_balance_67, c0_.external_logo_path AS external_logo_path_68, c0_.vat_nature AS vat_nature_69, c0_.vat_chargeability AS vat_chargeability_70, c0_.saved_data AS saved_data_71, c0_.normative_reference AS normative_reference_72, c0_.doc_reference AS doc_reference_73, c0_.doc_reference_number AS doc_reference_number_74, c0_.doc_reference_date AS doc_reference_date_75, c0_.title AS title_76, c0_.indirizzo AS indirizzo_77, c0_.localita AS localita_78, c0_.regione AS regione_79, c0_.cap AS cap_80, c0_.historicized AS historicized_81, c0_.id_contatto AS id_contatto_82, u1_.id AS id_83, u1_.erp_cod AS erp_cod_84, u1_.username AS username_85, u1_.password AS password_86, u1_.nome AS nome_87, u1_.sigla AS sigla_88, u1_.email AS email_89, u1_.lingua AS lingua_90, u1_.color AS color_91, u1_.initial_page AS initial_page_92, u1_.login_token AS login_token_93, u1_.google_authenticator_secret AS google_authenticator_secret_94, u1_.planner_priority AS planner_priority_95, u1_.is_cliente AS is_cliente_96, u1_.is_tester AS is_tester_97, u1_.is_sa AS is_sa_98, u1_.is_first_access AS is_first_access_99, u1_.is_google_authenticator_enable AS is_google_authenticator_enable_100, u1_.is2fa_email_enable AS is2fa_email_enable_101, u1_.is_active AS is_active_102, u1_.settings AS settings_103, u1_.is_operator AS is_operator_104, u1_.is_standby AS is_standby_105, u1_.is_accredia AS is_accredia_106, u1_.historicization_enabled AS historicization_enabled_107, u1_.check_consistence AS check_consistence_108, u1_.planner_start_date AS planner_start_date_109, u1_.standby_start_date AS standby_start_date_110, u1_.standby_end_date AS standby_end_date_111, u1_.last_check_consistence AS last_check_consistence_112, u1_.last_access_date AS last_access_date_113, u1_.last_app_access_date AS last_app_access_date_114, u1_.data_creazione AS data_creazione_115, u1_.data_ultima_modifica AS data_ultima_modifica_116, c0_.id_creatore AS id_creatore_117, c0_.id_aggiornatore AS id_aggiornatore_118, c0_.id_organizzazione AS id_organizzazione_119, c0_.id_chart_account AS id_chart_account_120, c0_.id_customer_category AS id_customer_category_121, c0_.id_agent_contact_category AS id_agent_contact_category_122, c0_.id_agent AS id_agent_123, c0_.id_birth_municipality AS id_birth_municipality_124, c0_.id_citizenship_municipality AS id_citizenship_municipality_125, c0_.id_vat_type AS id_vat_type_126, c0_.id_logo AS id_logo_127, c0_.id_agency AS id_agency_128, c0_.id_iban_currency_causal_code AS id_iban_currency_causal_code_129, c0_.id_contact_source AS id_contact_source_130, c0_.id_contact_group AS id_contact_group_131, c0_.id_payment_method AS id_payment_method_132, c0_.id_termine_pagamento AS id_termine_pagamento_133, c0_.id_supplier_payment_method AS id_supplier_payment_method_134, c0_.id_supplier_payment_term AS id_supplier_payment_term_135, c0_.id_subscription AS id_subscription_136, c0_.id_reference AS id_reference_137, c0_.id_provincia AS id_provincia_138, c0_.id_nazione AS id_nazione_139, u1_.id_avatar AS id_avatar_140, u1_.id_sign AS id_sign_141, u1_.id_contatto AS id_contatto_142, u1_.id_agent AS id_agent_143, u1_.id_stage_model_category AS id_stage_model_category_144, u1_.id_creatore AS id_creatore_145, u1_.id_aggiornatore AS id_aggiornatore_146 FROM contatto c0_ LEFT JOIN user u1_ ON c0_.id_contatto = u1_.id_contatto WHERE c0_.is_active = 1 ORDER BY c0_.cognome ASC;
|