33.65 ms (11.69%)
2
SELECT f0_ . defaultLocale AS defaultLocale_0 , f0_ . id AS id_1 , f1_ . title AS title_2 , f1_ . subject AS subject_3 , f1_ . fromEmail AS fromEmail_4 , f1_ . fromName AS fromName_5 , f1_ . toEmail AS toEmail_6 , f1_ . toName AS toName_7 , f1_ . mailText AS mailText_8 , f1_ . submitLabel AS submitLabel_9 , f1_ . successText AS successText_10 , f1_ . sendAttachments AS sendAttachments_11 , f1_ . deactivateAttachmentSave AS deactivateAttachmentSave_12 , f1_ . deactivateNotifyMails AS deactivateNotifyMails_13 , f1_ . deactivateCustomerMails AS deactivateCustomerMails_14 , f1_ . replyTo AS replyTo_15 , f1_ . locale AS locale_16 , f1_ . id AS id_17 , f1_ . created AS created_18 , f1_ . changed AS changed_19 , f2_ . keyName AS keyName_20 , f2_ . orderNumber AS orderNumber_21 , f2_ . type AS type_22 , f2_ . width AS width_23 , f2_ . required AS required_24 , f2_ . defaultLocale AS defaultLocale_25 , f2_ . id AS id_26 , f3_ . title AS title_27 , f3_ . placeholder AS placeholder_28 , f3_ . defaultValue AS defaultValue_29 , f3_ . shortTitle AS shortTitle_30 , f3_ . locale AS locale_31 , f3_ . options AS options_32 , f3_ . id AS id_33 , f4_ . type AS type_34 , f4_ . email AS email_35 , f4_ . name AS name_36 , f4_ . id AS id_37 , f1_ . idForms AS idForms_38 , f1_ . idUsersCreator AS idUsersCreator_39 , f1_ . idUsersChanger AS idUsersChanger_40 , f2_ . idForms AS idForms_41 , f3_ . idFormFields AS idFormFields_42 , f4_ . idFormTranslations AS idFormTranslations_43 FROM fo_forms f0_ LEFT JOIN fo_form_translations f1_ ON f0_ . id = f1_ . idForms LEFT JOIN fo_form_fields f2_ ON f0_ . id = f2_ . idForms LEFT JOIN fo_form_field_translations f3_ ON f2_ . id = f3_ . idFormFields LEFT JOIN fo_form_translation_receivers f4_ ON f1_ . id = f4_ . idFormTranslations WHERE f0_ . id = ? ORDER BY f2_ . orderNumber ASC
SELECT
f0_ . defaultLocale AS defaultLocale_0 ,
f0_ . id AS id_1 ,
f1_ . title AS title_2 ,
f1_ . subject AS subject_3 ,
f1_ . fromEmail AS fromEmail_4 ,
f1_ . fromName AS fromName_5 ,
f1_ . toEmail AS toEmail_6 ,
f1_ . toName AS toName_7 ,
f1_ . mailText AS mailText_8 ,
f1_ . submitLabel AS submitLabel_9 ,
f1_ . successText AS successText_10 ,
f1_ . sendAttachments AS sendAttachments_11 ,
f1_ . deactivateAttachmentSave AS deactivateAttachmentSave_12 ,
f1_ . deactivateNotifyMails AS deactivateNotifyMails_13 ,
f1_ . deactivateCustomerMails AS deactivateCustomerMails_14 ,
f1_ . replyTo AS replyTo_15 ,
f1_ . locale AS locale_16 ,
f1_ . id AS id_17 ,
f1_ . created AS created_18 ,
f1_ . changed AS changed_19 ,
f2_ . keyName AS keyName_20 ,
f2_ . orderNumber AS orderNumber_21 ,
f2_ . type AS type_22 ,
f2_ . width AS width_23 ,
f2_ . required AS required_24 ,
f2_ . defaultLocale AS defaultLocale_25 ,
f2_ . id AS id_26 ,
f3_ . title AS title_27 ,
f3_ . placeholder AS placeholder_28 ,
f3_ . defaultValue AS defaultValue_29 ,
f3_ . shortTitle AS shortTitle_30 ,
f3_ . locale AS locale_31 ,
f3_ . options AS options_32 ,
f3_ . id AS id_33 ,
f4_ . type AS type_34 ,
f4_ . email AS email_35 ,
f4_ . name AS name_36 ,
f4_ . id AS id_37 ,
f1_ . idForms AS idForms_38 ,
f1_ . idUsersCreator AS idUsersCreator_39 ,
f1_ . idUsersChanger AS idUsersChanger_40 ,
f2_ . idForms AS idForms_41 ,
f3_ . idFormFields AS idFormFields_42 ,
f4_ . idFormTranslations AS idFormTranslations_43
FROM
fo_forms f0_
LEFT JOIN fo_form_translations f1_ ON f0_ . id = f1_ . idForms
LEFT JOIN fo_form_fields f2_ ON f0_ . id = f2_ . idForms
LEFT JOIN fo_form_field_translations f3_ ON f2_ . id = f3_ . idFormFields
LEFT JOIN fo_form_translation_receivers f4_ ON f1_ . id = f4_ . idFormTranslations
WHERE
f0_ . id = ?
ORDER BY
f2_ . orderNumber ASC
Copy
SELECT f0_ . defaultLocale AS defaultLocale_0 , f0_ . id AS id_1 , f1_ . title AS title_2 , f1_ . subject AS subject_3 , f1_ . fromEmail AS fromEmail_4 , f1_ . fromName AS fromName_5 , f1_ . toEmail AS toEmail_6 , f1_ . toName AS toName_7 , f1_ . mailText AS mailText_8 , f1_ . submitLabel AS submitLabel_9 , f1_ . successText AS successText_10 , f1_ . sendAttachments AS sendAttachments_11 , f1_ . deactivateAttachmentSave AS deactivateAttachmentSave_12 , f1_ . deactivateNotifyMails AS deactivateNotifyMails_13 , f1_ . deactivateCustomerMails AS deactivateCustomerMails_14 , f1_ . replyTo AS replyTo_15 , f1_ . locale AS locale_16 , f1_ . id AS id_17 , f1_ . created AS created_18 , f1_ . changed AS changed_19 , f2_ . keyName AS keyName_20 , f2_ . orderNumber AS orderNumber_21 , f2_ . type AS type_22 , f2_ . width AS width_23 , f2_ . required AS required_24 , f2_ . defaultLocale AS defaultLocale_25 , f2_ . id AS id_26 , f3_ . title AS title_27 , f3_ . placeholder AS placeholder_28 , f3_ . defaultValue AS defaultValue_29 , f3_ . shortTitle AS shortTitle_30 , f3_ . locale AS locale_31 , f3_ . options AS options_32 , f3_ . id AS id_33 , f4_ . type AS type_34 , f4_ . email AS email_35 , f4_ . name AS name_36 , f4_ . id AS id_37 , f1_ . idForms AS idForms_38 , f1_ . idUsersCreator AS idUsersCreator_39 , f1_ . idUsersChanger AS idUsersChanger_40 , f2_ . idForms AS idForms_41 , f3_ . idFormFields AS idFormFields_42 , f4_ . idFormTranslations AS idFormTranslations_43 FROM fo_forms f0_ LEFT JOIN fo_form_translations f1_ ON f0_ . id = f1_ . idForms LEFT JOIN fo_form_fields f2_ ON f0_ . id = f2_ . idForms LEFT JOIN fo_form_field_translations f3_ ON f2_ . id = f3_ . idFormFields LEFT JOIN fo_form_translation_receivers f4_ ON f1_ . id = f4_ . idFormTranslations WHERE f0_ . id = 2 ORDER BY f2_ . orderNumber ASC ;
Copy
2.87 ms (1.00%)
1
SELECT c0_ . lft AS lft_0 , c0_ . rgt AS rgt_1 , c0_ . depth AS depth_2 , c0_ . name AS name_3 , c0_ . externalId AS externalId_4 , c0_ . number AS number_5 , c0_ . corporation AS corporation_6 , c0_ . note AS note_7 , c0_ . uid AS uid_8 , c0_ . registerNumber AS registerNumber_9 , c0_ . placeOfJurisdiction AS placeOfJurisdiction_10 , c0_ . mainEmail AS mainEmail_11 , c0_ . mainPhone AS mainPhone_12 , c0_ . mainFax AS mainFax_13 , c0_ . mainUrl AS mainUrl_14 , c0_ . id AS id_15 , c0_ . created AS created_16 , c0_ . changed AS changed_17 , c1_ . category_key AS category_key_18 , c1_ . default_locale AS default_locale_19 , c1_ . lft AS lft_20 , c1_ . rgt AS rgt_21 , c1_ . depth AS depth_22 , c1_ . id AS id_23 , c1_ . created AS created_24 , c1_ . changed AS changed_25 , c2_ . translation AS translation_26 , c2_ . locale AS locale_27 , c2_ . description AS description_28 , c2_ . id AS id_29 , c2_ . created AS created_30 , c2_ . changed AS changed_31 , c3_ . main AS main_32 , c3_ . id AS id_33 , c4_ . title AS title_34 , c4_ . primaryAddress AS primaryAddress_35 , c4_ . deliveryAddress AS deliveryAddress_36 , c4_ . billingAddress AS billingAddress_37 , c4_ . street AS street_38 , c4_ . number AS number_39 , c4_ . addition AS addition_40 , c4_ . zip AS zip_41 , c4_ . city AS city_42 , c4_ . state AS state_43 , c4_ . countryCode AS countryCode_44 , c4_ . postboxNumber AS postboxNumber_45 , c4_ . postboxPostcode AS postboxPostcode_46 , c4_ . postboxCity AS postboxCity_47 , c4_ . latitude AS latitude_48 , c4_ . longitude AS longitude_49 , c4_ . note AS note_50 , c4_ . id AS id_51 , c5_ . name AS name_52 , c5_ . id AS id_53 , c6_ . lft AS lft_54 , c6_ . rgt AS rgt_55 , c6_ . depth AS depth_56 , c6_ . name AS name_57 , c6_ . externalId AS externalId_58 , c6_ . number AS number_59 , c6_ . corporation AS corporation_60 , c6_ . note AS note_61 , c6_ . uid AS uid_62 , c6_ . registerNumber AS registerNumber_63 , c6_ . placeOfJurisdiction AS placeOfJurisdiction_64 , c6_ . mainEmail AS mainEmail_65 , c6_ . mainPhone AS mainPhone_66 , c6_ . mainFax AS mainFax_67 , c6_ . mainUrl AS mainUrl_68 , c6_ . id AS id_69 , c6_ . created AS created_70 , c6_ . changed AS changed_71 , c7_ . url AS url_72 , c7_ . id AS id_73 , c8_ . name AS name_74 , c8_ . id AS id_75 , c9_ . phone AS phone_76 , c9_ . id AS id_77 , c10_ . name AS name_78 , c10_ . id AS id_79 , c11_ . email AS email_80 , c11_ . id AS id_81 , c12_ . name AS name_82 , c12_ . id AS id_83 , c13_ . value AS value_84 , c13_ . id AS id_85 , c14_ . fax AS fax_86 , c14_ . id AS id_87 , c15_ . name AS name_88 , c15_ . id AS id_89 , c16_ . bankName AS bankName_90 , c16_ . bic AS bic_91 , c16_ . iban AS iban_92 , c16_ . public AS public_93 , c16_ . id AS id_94 , t17_ . name AS name_95 , t17_ . id AS id_96 , c18_ . firstName AS firstName_97 , c18_ . middleName AS middleName_98 , c18_ . lastName AS lastName_99 , c18_ . birthday AS birthday_100 , c18_ . salutation AS salutation_101 , c18_ . formOfAddress AS formOfAddress_102 , c18_ . newsletter AS newsletter_103 , c18_ . gender AS gender_104 , c18_ . note AS note_105 , c18_ . mainEmail AS mainEmail_106 , c18_ . mainPhone AS mainPhone_107 , c18_ . mainFax AS mainFax_108 , c18_ . mainUrl AS mainUrl_109 , c18_ . id AS id_110 , c18_ . created AS created_111 , c18_ . changed AS changed_112 , m19_ . id AS id_113 , m19_ . created AS created_114 , m19_ . changed AS changed_115 , c0_ . idContactsMain AS idContactsMain_116 , c0_ . idAccountsParent AS idAccountsParent_117 , c0_ . logo AS logo_118 , c0_ . idUsersCreator AS idUsersCreator_119 , c0_ . idUsersChanger AS idUsersChanger_120 , c1_ . idCategoriesParent AS idCategoriesParent_121 , c1_ . idUsersCreator AS idUsersCreator_122 , c1_ . idUsersChanger AS idUsersChanger_123 , c2_ . idCategories AS idCategories_124 , c2_ . idUsersCreator AS idUsersCreator_125 , c2_ . idUsersChanger AS idUsersChanger_126 , c3_ . idAddresses AS idAddresses_127 , c3_ . idAccounts AS idAccounts_128 , c4_ . idAdressTypes AS idAdressTypes_129 , c6_ . idContactsMain AS idContactsMain_130 , c6_ . idAccountsParent AS idAccountsParent_131 , c6_ . logo AS logo_132 , c6_ . idUsersCreator AS idUsersCreator_133 , c6_ . idUsersChanger AS idUsersChanger_134 , c7_ . idUrlTypes AS idUrlTypes_135 , c9_ . idPhoneTypes AS idPhoneTypes_136 , c11_ . idEmailTypes AS idEmailTypes_137 , c14_ . idFaxTypes AS idFaxTypes_138 , t17_ . idUsersCreator AS idUsersCreator_139 , t17_ . idUsersChanger AS idUsersChanger_140 , c18_ . idTitles AS idTitles_141 , c18_ . avatar AS avatar_142 , c18_ . idUsersCreator AS idUsersCreator_143 , c18_ . idUsersChanger AS idUsersChanger_144 , c18_ . location_id AS location_id_145 , m19_ . idMediaTypes AS idMediaTypes_146 , m19_ . idPreviewImage AS idPreviewImage_147 , m19_ . idCollections AS idCollections_148 , m19_ . idUsersCreator AS idUsersCreator_149 , m19_ . idUsersChanger AS idUsersChanger_150 FROM co_accounts c0_ LEFT JOIN co_account_categories c20_ ON c0_ . id = c20_ . idAccounts LEFT JOIN ca_categories c1_ ON c1_ . id = c20_ . idCategories LEFT JOIN ca_category_translations c2_ ON c1_ . id = c2_ . idCategories LEFT JOIN co_account_addresses c3_ ON c0_ . id = c3_ . idAccounts LEFT JOIN co_addresses c4_ ON c3_ . idAddresses = c4_ . id LEFT JOIN co_address_types c5_ ON c4_ . idAdressTypes = c5_ . id LEFT JOIN co_accounts c6_ ON c0_ . idAccountsParent = c6_ . id LEFT JOIN co_account_urls c21_ ON c0_ . id = c21_ . idAccounts LEFT JOIN co_urls c7_ ON c7_ . id = c21_ . idUrls LEFT JOIN co_url_types c8_ ON c7_ . idUrlTypes = c8_ . id LEFT JOIN co_account_phones c22_ ON c0_ . id = c22_ . idAccounts LEFT JOIN co_phones c9_ ON c9_ . id = c22_ . idPhones LEFT JOIN co_phone_types c10_ ON c9_ . idPhoneTypes = c10_ . id LEFT JOIN co_account_emails c23_ ON c0_ . id = c23_ . idAccounts LEFT JOIN co_emails c11_ ON c11_ . id = c23_ . idEmails LEFT JOIN co_email_types c12_ ON c11_ . idEmailTypes = c12_ . id LEFT JOIN co_account_notes c24_ ON c0_ . id = c24_ . idAccounts LEFT JOIN co_notes c13_ ON c13_ . id = c24_ . idNotes LEFT JOIN co_account_faxes c25_ ON c0_ . id = c25_ . idAccounts LEFT JOIN co_faxes c14_ ON c14_ . id = c25_ . idFaxes LEFT JOIN co_fax_types c15_ ON c14_ . idFaxTypes = c15_ . id LEFT JOIN co_account_bank_accounts c26_ ON c0_ . id = c26_ . idAccounts LEFT JOIN co_bank_account c16_ ON c16_ . id = c26_ . idBankAccounts LEFT JOIN co_account_tags c27_ ON c0_ . id = c27_ . idAccounts LEFT JOIN ta_tags t17_ ON t17_ . id = c27_ . idTags LEFT JOIN co_contacts c18_ ON c0_ . idContactsMain = c18_ . id LEFT JOIN co_account_medias c28_ ON c0_ . id = c28_ . idAccounts LEFT JOIN me_media m19_ ON m19_ . id = c28_ . idMedias WHERE c0_ . id IN (? ) ORDER BY c0_ . id ASC
SELECT
c0_ . lft AS lft_0 ,
c0_ . rgt AS rgt_1 ,
c0_ . depth AS depth_2 ,
c0_ . name AS name_3 ,
c0_ . externalId AS externalId_4 ,
c0_ . number AS number_5 ,
c0_ . corporation AS corporation_6 ,
c0_ . note AS note_7 ,
c0_ . uid AS uid_8 ,
c0_ . registerNumber AS registerNumber_9 ,
c0_ . placeOfJurisdiction AS placeOfJurisdiction_10 ,
c0_ . mainEmail AS mainEmail_11 ,
c0_ . mainPhone AS mainPhone_12 ,
c0_ . mainFax AS mainFax_13 ,
c0_ . mainUrl AS mainUrl_14 ,
c0_ . id AS id_15 ,
c0_ . created AS created_16 ,
c0_ . changed AS changed_17 ,
c1_ . category_key AS category_key_18 ,
c1_ . default_locale AS default_locale_19 ,
c1_ . lft AS lft_20 ,
c1_ . rgt AS rgt_21 ,
c1_ . depth AS depth_22 ,
c1_ . id AS id_23 ,
c1_ . created AS created_24 ,
c1_ . changed AS changed_25 ,
c2_ . translation AS translation_26 ,
c2_ . locale AS locale_27 ,
c2_ . description AS description_28 ,
c2_ . id AS id_29 ,
c2_ . created AS created_30 ,
c2_ . changed AS changed_31 ,
c3_ . main AS main_32 ,
c3_ . id AS id_33 ,
c4_ . title AS title_34 ,
c4_ . primaryAddress AS primaryAddress_35 ,
c4_ . deliveryAddress AS deliveryAddress_36 ,
c4_ . billingAddress AS billingAddress_37 ,
c4_ . street AS street_38 ,
c4_ . number AS number_39 ,
c4_ . addition AS addition_40 ,
c4_ . zip AS zip_41 ,
c4_ . city AS city_42 ,
c4_ . state AS state_43 ,
c4_ . countryCode AS countryCode_44 ,
c4_ . postboxNumber AS postboxNumber_45 ,
c4_ . postboxPostcode AS postboxPostcode_46 ,
c4_ . postboxCity AS postboxCity_47 ,
c4_ . latitude AS latitude_48 ,
c4_ . longitude AS longitude_49 ,
c4_ . note AS note_50 ,
c4_ . id AS id_51 ,
c5_ . name AS name_52 ,
c5_ . id AS id_53 ,
c6_ . lft AS lft_54 ,
c6_ . rgt AS rgt_55 ,
c6_ . depth AS depth_56 ,
c6_ . name AS name_57 ,
c6_ . externalId AS externalId_58 ,
c6_ . number AS number_59 ,
c6_ . corporation AS corporation_60 ,
c6_ . note AS note_61 ,
c6_ . uid AS uid_62 ,
c6_ . registerNumber AS registerNumber_63 ,
c6_ . placeOfJurisdiction AS placeOfJurisdiction_64 ,
c6_ . mainEmail AS mainEmail_65 ,
c6_ . mainPhone AS mainPhone_66 ,
c6_ . mainFax AS mainFax_67 ,
c6_ . mainUrl AS mainUrl_68 ,
c6_ . id AS id_69 ,
c6_ . created AS created_70 ,
c6_ . changed AS changed_71 ,
c7_ . url AS url_72 ,
c7_ . id AS id_73 ,
c8_ . name AS name_74 ,
c8_ . id AS id_75 ,
c9_ . phone AS phone_76 ,
c9_ . id AS id_77 ,
c10_ . name AS name_78 ,
c10_ . id AS id_79 ,
c11_ . email AS email_80 ,
c11_ . id AS id_81 ,
c12_ . name AS name_82 ,
c12_ . id AS id_83 ,
c13_ . value AS value_84 ,
c13_ . id AS id_85 ,
c14_ . fax AS fax_86 ,
c14_ . id AS id_87 ,
c15_ . name AS name_88 ,
c15_ . id AS id_89 ,
c16_ . bankName AS bankName_90 ,
c16_ . bic AS bic_91 ,
c16_ . iban AS iban_92 ,
c16_ . public AS public_93 ,
c16_ . id AS id_94 ,
t17_ . name AS name_95 ,
t17_ . id AS id_96 ,
c18_ . firstName AS firstName_97 ,
c18_ . middleName AS middleName_98 ,
c18_ . lastName AS lastName_99 ,
c18_ . birthday AS birthday_100 ,
c18_ . salutation AS salutation_101 ,
c18_ . formOfAddress AS formOfAddress_102 ,
c18_ . newsletter AS newsletter_103 ,
c18_ . gender AS gender_104 ,
c18_ . note AS note_105 ,
c18_ . mainEmail AS mainEmail_106 ,
c18_ . mainPhone AS mainPhone_107 ,
c18_ . mainFax AS mainFax_108 ,
c18_ . mainUrl AS mainUrl_109 ,
c18_ . id AS id_110 ,
c18_ . created AS created_111 ,
c18_ . changed AS changed_112 ,
m19_ . id AS id_113 ,
m19_ . created AS created_114 ,
m19_ . changed AS changed_115 ,
c0_ . idContactsMain AS idContactsMain_116 ,
c0_ . idAccountsParent AS idAccountsParent_117 ,
c0_ . logo AS logo_118 ,
c0_ . idUsersCreator AS idUsersCreator_119 ,
c0_ . idUsersChanger AS idUsersChanger_120 ,
c1_ . idCategoriesParent AS idCategoriesParent_121 ,
c1_ . idUsersCreator AS idUsersCreator_122 ,
c1_ . idUsersChanger AS idUsersChanger_123 ,
c2_ . idCategories AS idCategories_124 ,
c2_ . idUsersCreator AS idUsersCreator_125 ,
c2_ . idUsersChanger AS idUsersChanger_126 ,
c3_ . idAddresses AS idAddresses_127 ,
c3_ . idAccounts AS idAccounts_128 ,
c4_ . idAdressTypes AS idAdressTypes_129 ,
c6_ . idContactsMain AS idContactsMain_130 ,
c6_ . idAccountsParent AS idAccountsParent_131 ,
c6_ . logo AS logo_132 ,
c6_ . idUsersCreator AS idUsersCreator_133 ,
c6_ . idUsersChanger AS idUsersChanger_134 ,
c7_ . idUrlTypes AS idUrlTypes_135 ,
c9_ . idPhoneTypes AS idPhoneTypes_136 ,
c11_ . idEmailTypes AS idEmailTypes_137 ,
c14_ . idFaxTypes AS idFaxTypes_138 ,
t17_ . idUsersCreator AS idUsersCreator_139 ,
t17_ . idUsersChanger AS idUsersChanger_140 ,
c18_ . idTitles AS idTitles_141 ,
c18_ . avatar AS avatar_142 ,
c18_ . idUsersCreator AS idUsersCreator_143 ,
c18_ . idUsersChanger AS idUsersChanger_144 ,
c18_ . location_id AS location_id_145 ,
m19_ . idMediaTypes AS idMediaTypes_146 ,
m19_ . idPreviewImage AS idPreviewImage_147 ,
m19_ . idCollections AS idCollections_148 ,
m19_ . idUsersCreator AS idUsersCreator_149 ,
m19_ . idUsersChanger AS idUsersChanger_150
FROM
co_accounts c0_
LEFT JOIN co_account_categories c20_ ON c0_ . id = c20_ . idAccounts
LEFT JOIN ca_categories c1_ ON c1_ . id = c20_ . idCategories
LEFT JOIN ca_category_translations c2_ ON c1_ . id = c2_ . idCategories
LEFT JOIN co_account_addresses c3_ ON c0_ . id = c3_ . idAccounts
LEFT JOIN co_addresses c4_ ON c3_ . idAddresses = c4_ . id
LEFT JOIN co_address_types c5_ ON c4_ . idAdressTypes = c5_ . id
LEFT JOIN co_accounts c6_ ON c0_ . idAccountsParent = c6_ . id
LEFT JOIN co_account_urls c21_ ON c0_ . id = c21_ . idAccounts
LEFT JOIN co_urls c7_ ON c7_ . id = c21_ . idUrls
LEFT JOIN co_url_types c8_ ON c7_ . idUrlTypes = c8_ . id
LEFT JOIN co_account_phones c22_ ON c0_ . id = c22_ . idAccounts
LEFT JOIN co_phones c9_ ON c9_ . id = c22_ . idPhones
LEFT JOIN co_phone_types c10_ ON c9_ . idPhoneTypes = c10_ . id
LEFT JOIN co_account_emails c23_ ON c0_ . id = c23_ . idAccounts
LEFT JOIN co_emails c11_ ON c11_ . id = c23_ . idEmails
LEFT JOIN co_email_types c12_ ON c11_ . idEmailTypes = c12_ . id
LEFT JOIN co_account_notes c24_ ON c0_ . id = c24_ . idAccounts
LEFT JOIN co_notes c13_ ON c13_ . id = c24_ . idNotes
LEFT JOIN co_account_faxes c25_ ON c0_ . id = c25_ . idAccounts
LEFT JOIN co_faxes c14_ ON c14_ . id = c25_ . idFaxes
LEFT JOIN co_fax_types c15_ ON c14_ . idFaxTypes = c15_ . id
LEFT JOIN co_account_bank_accounts c26_ ON c0_ . id = c26_ . idAccounts
LEFT JOIN co_bank_account c16_ ON c16_ . id = c26_ . idBankAccounts
LEFT JOIN co_account_tags c27_ ON c0_ . id = c27_ . idAccounts
LEFT JOIN ta_tags t17_ ON t17_ . id = c27_ . idTags
LEFT JOIN co_contacts c18_ ON c0_ . idContactsMain = c18_ . id
LEFT JOIN co_account_medias c28_ ON c0_ . id = c28_ . idAccounts
LEFT JOIN me_media m19_ ON m19_ . id = c28_ . idMedias
WHERE
c0_ . id IN (? )
ORDER BY
c0_ . id ASC
Copy
SELECT c0_ . lft AS lft_0 , c0_ . rgt AS rgt_1 , c0_ . depth AS depth_2 , c0_ . name AS name_3 , c0_ . externalId AS externalId_4 , c0_ . number AS number_5 , c0_ . corporation AS corporation_6 , c0_ . note AS note_7 , c0_ . uid AS uid_8 , c0_ . registerNumber AS registerNumber_9 , c0_ . placeOfJurisdiction AS placeOfJurisdiction_10 , c0_ . mainEmail AS mainEmail_11 , c0_ . mainPhone AS mainPhone_12 , c0_ . mainFax AS mainFax_13 , c0_ . mainUrl AS mainUrl_14 , c0_ . id AS id_15 , c0_ . created AS created_16 , c0_ . changed AS changed_17 , c1_ . category_key AS category_key_18 , c1_ . default_locale AS default_locale_19 , c1_ . lft AS lft_20 , c1_ . rgt AS rgt_21 , c1_ . depth AS depth_22 , c1_ . id AS id_23 , c1_ . created AS created_24 , c1_ . changed AS changed_25 , c2_ . translation AS translation_26 , c2_ . locale AS locale_27 , c2_ . description AS description_28 , c2_ . id AS id_29 , c2_ . created AS created_30 , c2_ . changed AS changed_31 , c3_ . main AS main_32 , c3_ . id AS id_33 , c4_ . title AS title_34 , c4_ . primaryAddress AS primaryAddress_35 , c4_ . deliveryAddress AS deliveryAddress_36 , c4_ . billingAddress AS billingAddress_37 , c4_ . street AS street_38 , c4_ . number AS number_39 , c4_ . addition AS addition_40 , c4_ . zip AS zip_41 , c4_ . city AS city_42 , c4_ . state AS state_43 , c4_ . countryCode AS countryCode_44 , c4_ . postboxNumber AS postboxNumber_45 , c4_ . postboxPostcode AS postboxPostcode_46 , c4_ . postboxCity AS postboxCity_47 , c4_ . latitude AS latitude_48 , c4_ . longitude AS longitude_49 , c4_ . note AS note_50 , c4_ . id AS id_51 , c5_ . name AS name_52 , c5_ . id AS id_53 , c6_ . lft AS lft_54 , c6_ . rgt AS rgt_55 , c6_ . depth AS depth_56 , c6_ . name AS name_57 , c6_ . externalId AS externalId_58 , c6_ . number AS number_59 , c6_ . corporation AS corporation_60 , c6_ . note AS note_61 , c6_ . uid AS uid_62 , c6_ . registerNumber AS registerNumber_63 , c6_ . placeOfJurisdiction AS placeOfJurisdiction_64 , c6_ . mainEmail AS mainEmail_65 , c6_ . mainPhone AS mainPhone_66 , c6_ . mainFax AS mainFax_67 , c6_ . mainUrl AS mainUrl_68 , c6_ . id AS id_69 , c6_ . created AS created_70 , c6_ . changed AS changed_71 , c7_ . url AS url_72 , c7_ . id AS id_73 , c8_ . name AS name_74 , c8_ . id AS id_75 , c9_ . phone AS phone_76 , c9_ . id AS id_77 , c10_ . name AS name_78 , c10_ . id AS id_79 , c11_ . email AS email_80 , c11_ . id AS id_81 , c12_ . name AS name_82 , c12_ . id AS id_83 , c13_ . value AS value_84 , c13_ . id AS id_85 , c14_ . fax AS fax_86 , c14_ . id AS id_87 , c15_ . name AS name_88 , c15_ . id AS id_89 , c16_ . bankName AS bankName_90 , c16_ . bic AS bic_91 , c16_ . iban AS iban_92 , c16_ . public AS public_93 , c16_ . id AS id_94 , t17_ . name AS name_95 , t17_ . id AS id_96 , c18_ . firstName AS firstName_97 , c18_ . middleName AS middleName_98 , c18_ . lastName AS lastName_99 , c18_ . birthday AS birthday_100 , c18_ . salutation AS salutation_101 , c18_ . formOfAddress AS formOfAddress_102 , c18_ . newsletter AS newsletter_103 , c18_ . gender AS gender_104 , c18_ . note AS note_105 , c18_ . mainEmail AS mainEmail_106 , c18_ . mainPhone AS mainPhone_107 , c18_ . mainFax AS mainFax_108 , c18_ . mainUrl AS mainUrl_109 , c18_ . id AS id_110 , c18_ . created AS created_111 , c18_ . changed AS changed_112 , m19_ . id AS id_113 , m19_ . created AS created_114 , m19_ . changed AS changed_115 , c0_ . idContactsMain AS idContactsMain_116 , c0_ . idAccountsParent AS idAccountsParent_117 , c0_ . logo AS logo_118 , c0_ . idUsersCreator AS idUsersCreator_119 , c0_ . idUsersChanger AS idUsersChanger_120 , c1_ . idCategoriesParent AS idCategoriesParent_121 , c1_ . idUsersCreator AS idUsersCreator_122 , c1_ . idUsersChanger AS idUsersChanger_123 , c2_ . idCategories AS idCategories_124 , c2_ . idUsersCreator AS idUsersCreator_125 , c2_ . idUsersChanger AS idUsersChanger_126 , c3_ . idAddresses AS idAddresses_127 , c3_ . idAccounts AS idAccounts_128 , c4_ . idAdressTypes AS idAdressTypes_129 , c6_ . idContactsMain AS idContactsMain_130 , c6_ . idAccountsParent AS idAccountsParent_131 , c6_ . logo AS logo_132 , c6_ . idUsersCreator AS idUsersCreator_133 , c6_ . idUsersChanger AS idUsersChanger_134 , c7_ . idUrlTypes AS idUrlTypes_135 , c9_ . idPhoneTypes AS idPhoneTypes_136 , c11_ . idEmailTypes AS idEmailTypes_137 , c14_ . idFaxTypes AS idFaxTypes_138 , t17_ . idUsersCreator AS idUsersCreator_139 , t17_ . idUsersChanger AS idUsersChanger_140 , c18_ . idTitles AS idTitles_141 , c18_ . avatar AS avatar_142 , c18_ . idUsersCreator AS idUsersCreator_143 , c18_ . idUsersChanger AS idUsersChanger_144 , c18_ . location_id AS location_id_145 , m19_ . idMediaTypes AS idMediaTypes_146 , m19_ . idPreviewImage AS idPreviewImage_147 , m19_ . idCollections AS idCollections_148 , m19_ . idUsersCreator AS idUsersCreator_149 , m19_ . idUsersChanger AS idUsersChanger_150 FROM co_accounts c0_ LEFT JOIN co_account_categories c20_ ON c0_ . id = c20_ . idAccounts LEFT JOIN ca_categories c1_ ON c1_ . id = c20_ . idCategories LEFT JOIN ca_category_translations c2_ ON c1_ . id = c2_ . idCategories LEFT JOIN co_account_addresses c3_ ON c0_ . id = c3_ . idAccounts LEFT JOIN co_addresses c4_ ON c3_ . idAddresses = c4_ . id LEFT JOIN co_address_types c5_ ON c4_ . idAdressTypes = c5_ . id LEFT JOIN co_accounts c6_ ON c0_ . idAccountsParent = c6_ . id LEFT JOIN co_account_urls c21_ ON c0_ . id = c21_ . idAccounts LEFT JOIN co_urls c7_ ON c7_ . id = c21_ . idUrls LEFT JOIN co_url_types c8_ ON c7_ . idUrlTypes = c8_ . id LEFT JOIN co_account_phones c22_ ON c0_ . id = c22_ . idAccounts LEFT JOIN co_phones c9_ ON c9_ . id = c22_ . idPhones LEFT JOIN co_phone_types c10_ ON c9_ . idPhoneTypes = c10_ . id LEFT JOIN co_account_emails c23_ ON c0_ . id = c23_ . idAccounts LEFT JOIN co_emails c11_ ON c11_ . id = c23_ . idEmails LEFT JOIN co_email_types c12_ ON c11_ . idEmailTypes = c12_ . id LEFT JOIN co_account_notes c24_ ON c0_ . id = c24_ . idAccounts LEFT JOIN co_notes c13_ ON c13_ . id = c24_ . idNotes LEFT JOIN co_account_faxes c25_ ON c0_ . id = c25_ . idAccounts LEFT JOIN co_faxes c14_ ON c14_ . id = c25_ . idFaxes LEFT JOIN co_fax_types c15_ ON c14_ . idFaxTypes = c15_ . id LEFT JOIN co_account_bank_accounts c26_ ON c0_ . id = c26_ . idAccounts LEFT JOIN co_bank_account c16_ ON c16_ . id = c26_ . idBankAccounts LEFT JOIN co_account_tags c27_ ON c0_ . id = c27_ . idAccounts LEFT JOIN ta_tags t17_ ON t17_ . id = c27_ . idTags LEFT JOIN co_contacts c18_ ON c0_ . idContactsMain = c18_ . id LEFT JOIN co_account_medias c28_ ON c0_ . id = c28_ . idAccounts LEFT JOIN me_media m19_ ON m19_ . id = c28_ . idMedias WHERE c0_ . id IN ('1' ) ORDER BY c0_ . id ASC ;
Copy