13
3.27 ms
SELECT `order` . `id` as `order.id` , `order` . `version_id` as `order.versionId` , `order` . `auto_increment` as `order.autoIncrement` , `order` . `order_number` as `order.orderNumber` , `order` . `billing_address_id` as `order.billingAddressId` , `order` . `billing_address_version_id` as `order.billingAddressVersionId` , `order` . `currency_id` as `order.currencyId` , `order` . `language_id` as `order.languageId` , `order` . `sales_channel_id` as `order.salesChannelId` , `order` . `order_date_time` as `order.orderDateTime` , `order` . `order_date` as `order.orderDate` , `order` . `price` as `order.price` , `order` . `amount_total` as `order.amountTotal` , `order` . `amount_net` as `order.amountNet` , `order` . `position_price` as `order.positionPrice` , `order` . `tax_status` as `order.taxStatus` , `order` . `shipping_costs` as `order.shippingCosts` , `order` . `shipping_total` as `order.shippingTotal` , `order` . `currency_factor` as `order.currencyFactor` , `order` . `deep_link_code` as `order.deepLinkCode` , `order` . `affiliate_code` as `order.affiliateCode` , `order` . `campaign_code` as `order.campaignCode` , `order` . `customer_comment` as `order.customerComment` , `order` . `source` as `order.source` , `order` . `state_id` as `order.stateId` , `order` . `rule_ids` as `order.ruleIds` , `order` . `custom_fields` as `order.customFields` , `order` . `created_by_id` as `order.createdById` , `order` . `updated_by_id` as `order.updatedById` , `order.orderCustomer` . `id` as `order.orderCustomer.id` , `order.orderCustomer` . `version_id` as `order.orderCustomer.versionId` , `order.orderCustomer` . `customer_id` as `order.orderCustomer.customerId` , `order.orderCustomer` . `order_id` as `order.orderCustomer.orderId` , `order.orderCustomer` . `order_version_id` as `order.orderCustomer.orderVersionId` , `order.orderCustomer` . `email` as `order.orderCustomer.email` , `order.orderCustomer` . `salutation_id` as `order.orderCustomer.salutationId` , `order.orderCustomer` . `first_name` as `order.orderCustomer.firstName` , `order.orderCustomer` . `last_name` as `order.orderCustomer.lastName` , `order.orderCustomer` . `company` as `order.orderCustomer.company` , `order.orderCustomer` . `title` as `order.orderCustomer.title` , `order.orderCustomer` . `vat_ids` as `order.orderCustomer.vatIds` , `order.orderCustomer` . `customer_number` as `order.orderCustomer.customerNumber` , `order.orderCustomer` . `custom_fields` as `order.orderCustomer.customFields` , `order.orderCustomer` . `remote_address` as `order.orderCustomer.remoteAddress` , `order.orderCustomer` . `created_at` as `order.orderCustomer.createdAt` , `order.orderCustomer` . `updated_at` as `order.orderCustomer.updatedAt` , `order` . `item_rounding` as `order.itemRounding` , `order` . `total_rounding` as `order.totalRounding` , `order` . `created_at` as `order.createdAt` , `order` . `updated_at` as `order.updatedAt` , `order.merchantOfTrustExtension` . `id` as `order.merchantOfTrustExtension.id` , `order.merchantOfTrustExtension` . `order_id` as `order.merchantOfTrustExtension.orderId` , `order.merchantOfTrustExtension` . `merchant_id` as `order.merchantOfTrustExtension.merchantId` , `order.merchantOfTrustExtension` . `created_at` as `order.merchantOfTrustExtension.createdAt` , `order.merchantOfTrustExtension` . `updated_at` as `order.merchantOfTrustExtension.updatedAt` , `order.billingAddress` . `id` as `order.billingAddress.id` , `order.billingAddress` . `version_id` as `order.billingAddress.versionId` , `order.billingAddress` . `country_id` as `order.billingAddress.countryId` , `order.billingAddress` . `country_state_id` as `order.billingAddress.countryStateId` , `order.billingAddress` . `order_id` as `order.billingAddress.orderId` , `order.billingAddress` . `order_version_id` as `order.billingAddress.orderVersionId` , `order.billingAddress` . `salutation_id` as `order.billingAddress.salutationId` , `order.billingAddress` . `first_name` as `order.billingAddress.firstName` , `order.billingAddress` . `last_name` as `order.billingAddress.lastName` , `order.billingAddress` . `street` as `order.billingAddress.street` , `order.billingAddress` . `zipcode` as `order.billingAddress.zipcode` , `order.billingAddress` . `city` as `order.billingAddress.city` , `order.billingAddress` . `company` as `order.billingAddress.company` , `order.billingAddress` . `department` as `order.billingAddress.department` , `order.billingAddress` . `title` as `order.billingAddress.title` , `order.billingAddress` . `vat_id` as `order.billingAddress.vatId` , `order.billingAddress` . `phone_number` as `order.billingAddress.phoneNumber` , `order.billingAddress` . `additional_address_line1` as `order.billingAddress.additionalAddressLine1` , `order.billingAddress` . `additional_address_line2` as `order.billingAddress.additionalAddressLine2` , `order.billingAddress` . `custom_fields` as `order.billingAddress.customFields` , `order.billingAddress` . `created_at` as `order.billingAddress.createdAt` , `order.billingAddress` . `updated_at` as `order.billingAddress.updatedAt` , `order.salesChannel` . `id` as `order.salesChannel.id` , `order.salesChannel` . `type_id` as `order.salesChannel.typeId` , `order.salesChannel` . `language_id` as `order.salesChannel.languageId` , `order.salesChannel` . `customer_group_id` as `order.salesChannel.customerGroupId` , `order.salesChannel` . `currency_id` as `order.salesChannel.currencyId` , `order.salesChannel` . `payment_method_id` as `order.salesChannel.paymentMethodId` , `order.salesChannel` . `shipping_method_id` as `order.salesChannel.shippingMethodId` , `order.salesChannel` . `country_id` as `order.salesChannel.countryId` , `order.salesChannel` . `analytics_id` as `order.salesChannel.analyticsId` , `order.salesChannel` . `navigation_category_id` as `order.salesChannel.navigationCategoryId` , `order.salesChannel` . `navigation_category_version_id` as `order.salesChannel.navigationCategoryVersionId` , `order.salesChannel` . `navigation_category_depth` as `order.salesChannel.navigationCategoryDepth` , `order.salesChannel` . `footer_category_id` as `order.salesChannel.footerCategoryId` , `order.salesChannel` . `footer_category_version_id` as `order.salesChannel.footerCategoryVersionId` , `order.salesChannel` . `service_category_id` as `order.salesChannel.serviceCategoryId` , `order.salesChannel` . `service_category_version_id` as `order.salesChannel.serviceCategoryVersionId` , `order.salesChannel` . `mail_header_footer_id` as `order.salesChannel.mailHeaderFooterId` , `order.salesChannel` . `hreflang_default_domain_id` as `order.salesChannel.hreflangDefaultDomainId` , `order.salesChannel` . `short_name` as `order.salesChannel.shortName` , `order.salesChannel` . `tax_calculation_type` as `order.salesChannel.taxCalculationType` , `order.salesChannel` . `access_key` as `order.salesChannel.accessKey` , `order.salesChannel` . `configuration` as `order.salesChannel.configuration` , `order.salesChannel` . `active` as `order.salesChannel.active` , `order.salesChannel` . `hreflang_active` as `order.salesChannel.hreflangActive` , `order.salesChannel` . `maintenance` as `order.salesChannel.maintenance` , `order.salesChannel` . `maintenance_ip_whitelist` as `order.salesChannel.maintenanceIpWhitelist` , `order.salesChannel` . `payment_method_ids` as `order.salesChannel.paymentMethodIds` , `order.salesChannel` . `home_cms_page_id` as `order.salesChannel.homeCmsPageId` , `order.salesChannel` . `home_cms_page_version_id` as `order.salesChannel.homeCmsPageVersionId` , `order.salesChannel` . `created_at` as `order.salesChannel.createdAt` , `order.salesChannel` . `updated_at` as `order.salesChannel.updatedAt` , `order.salesChannel.translation.name` , `order.salesChannel.translation.name` as `order.salesChannel.name` , `order.salesChannel.translation.homeSlotConfig` , `order.salesChannel.translation.homeSlotConfig` as `order.salesChannel.homeSlotConfig` , `order.salesChannel.translation.homeEnabled` , `order.salesChannel.translation.homeEnabled` as `order.salesChannel.homeEnabled` , `order.salesChannel.translation.homeName` , `order.salesChannel.translation.homeName` as `order.salesChannel.homeName` , `order.salesChannel.translation.homeMetaTitle` , `order.salesChannel.translation.homeMetaTitle` as `order.salesChannel.homeMetaTitle` , `order.salesChannel.translation.homeMetaDescription` , `order.salesChannel.translation.homeMetaDescription` as `order.salesChannel.homeMetaDescription` , `order.salesChannel.translation.homeKeywords` , `order.salesChannel.translation.homeKeywords` as `order.salesChannel.homeKeywords` , `order.salesChannel.translation.customFields` , `order.salesChannel.translation.customFields` as `order.salesChannel.customFields` , `order.currency` . `id` as `order.currency.id` , `order.currency` . `factor` as `order.currency.factor` , `order.currency` . `symbol` as `order.currency.symbol` , `order.currency` . `iso_code` as `order.currency.isoCode` , `order.currency` . `position` as `order.currency.position` , `order.currency` . `tax_free_from` as `order.currency.taxFreeFrom` , `order.currency` . `item_rounding` as `order.currency.itemRounding` , `order.currency` . `total_rounding` as `order.currency.totalRounding` , `order.currency` . `created_at` as `order.currency.createdAt` , `order.currency` . `updated_at` as `order.currency.updatedAt` , `order.currency.translation.shortName` , `order.currency.translation.shortName` as `order.currency.shortName` , `order.currency.translation.name` , `order.currency.translation.name` as `order.currency.name` , `order.currency.translation.customFields` , `order.currency.translation.customFields` as `order.currency.customFields` , `order.stateMachineState` . `id` as `order.stateMachineState.id` , `order.stateMachineState` . `technical_name` as `order.stateMachineState.technicalName` , `order.stateMachineState` . `state_machine_id` as `order.stateMachineState.stateMachineId` , `order.stateMachineState` . `created_at` as `order.stateMachineState.createdAt` , `order.stateMachineState` . `updated_at` as `order.stateMachineState.updatedAt` , `order.stateMachineState.translation.name` , `order.stateMachineState.translation.name` as `order.stateMachineState.name` , `order.stateMachineState.translation.customFields` , `order.stateMachineState.translation.customFields` as `order.stateMachineState.customFields` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order` . `id` = `order.orderCustomer` . `order_id` AND `order` . `version_id` = `order.orderCustomer` . `order_version_id` LEFT JOIN `intellicon_merchant_of_trust_extension` `order.merchantOfTrustExtension` ON `order` . `id` = `order.merchantOfTrustExtension` . `order_id` LEFT JOIN `order_address` `order.billingAddress` ON `order` . `billing_address_id` = `order.billingAddress` . `id` AND `order` . `billing_address_version_id` = `order.billingAddress` . `version_id` LEFT JOIN `sales_channel` `order.salesChannel` ON `order` . `sales_channel_id` = `order.salesChannel` . `id` LEFT JOIN `currency` `order.currency` ON `order` . `currency_id` = `order.currency` . `id` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order` . `state_id` = `order.stateMachineState` . `id` LEFT JOIN (SELECT `order.salesChannel.translation` . `sales_channel_id` , `order.salesChannel.translation` . `name` as `order.salesChannel.translation.name` , `order.salesChannel.translation` . `custom_fields` as `order.salesChannel.translation.customFields` , `order.salesChannel.translation` . `home_slot_config` as `order.salesChannel.translation.homeSlotConfig` , `order.salesChannel.translation` . `home_enabled` as `order.salesChannel.translation.homeEnabled` , `order.salesChannel.translation` . `home_name` as `order.salesChannel.translation.homeName` , `order.salesChannel.translation` . `home_meta_title` as `order.salesChannel.translation.homeMetaTitle` , `order.salesChannel.translation` . `home_meta_description` as `order.salesChannel.translation.homeMetaDescription` , `order.salesChannel.translation` . `home_keywords` as `order.salesChannel.translation.homeKeywords` FROM `sales_channel_translation` `order.salesChannel.translation` WHERE `order.salesChannel.translation` . `language_id` = ? ) `order.salesChannel.sales_channel_translation` ON `order.salesChannel.sales_channel_translation` . `sales_channel_id` = `order.salesChannel` . `id` LEFT JOIN (SELECT `order.currency.translation` . `currency_id` , `order.currency.translation` . `short_name` as `order.currency.translation.shortName` , `order.currency.translation` . `name` as `order.currency.translation.name` , `order.currency.translation` . `custom_fields` as `order.currency.translation.customFields` FROM `currency_translation` `order.currency.translation` WHERE `order.currency.translation` . `language_id` = ? ) `order.currency.currency_translation` ON `order.currency.currency_translation` . `currency_id` = `order.currency` . `id` LEFT JOIN (SELECT `order.stateMachineState.translation` . `state_machine_state_id` , `order.stateMachineState.translation` . `name` as `order.stateMachineState.translation.name` , `order.stateMachineState.translation` . `custom_fields` as `order.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation` . `language_id` = ? ) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order.stateMachineState` . `id` WHERE (`order` . `version_id` = ? ) AND (`order` . `id` IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ”ˆvìöpf®**AdÄàù "
b"\x01 öêj10r±©\x03 Q\x1F\f etÅ "
b"\x01 ”ˆdòq&ª_E\x12 UáE\x02 "
b"\x01 ”ˆXO1p\r ‘Ù÷`HŒº\x1C "
b"\x01 ”ˆC«YpÙ€AÇI:öM~ "
b"\x01 öê@BupÊüåÛ\x00\t ░╚i "
b"\x01 ”ˆ3¢”r\x15 •Õ±Î«,\x15 ‹ "
b"\x01 öê/¤╝q+¢\x13 £ÀÛÞØV "
b"\x01 öê"ßÅs¢ä~PHÂı]╔ "
b"\x01 ”‡FïªpR¿¬O¢·±Ž¥ "
b"\x01 ”„óŸpi¨Eè†\v\x06 Á3 "
b"\x01 öäNÃ=qWÂÅ\x18 pÚ_▓▓ "
b"\x01 ”„.\x12 6r‘šÚ\x7F ½$iº¡ "
b"\x01 ”„\x10 Â&s^¶{oZù¦I; "
b"\x01 ”ƒíD±pβ±\x0F\x1D LQ)‡ "
b"\x01 öâµùÚpìä H\x15 5IEq "
b"\x01 ”ƒˆ×/sU¸\t öè/\v õü "
b"\x01 öâJUØsB¢XëÈ╚mPÚ "
b"\x01 ”ƒ6z¶qÔŠ”º\x04 ¾fÜ„ "
b"\x01 ”ƒ/ìþpz¬ÍÒö³Í†À "
b"\x01 ”ƒ(ð\x0E r…®\v ¡ªÀ˜¨\x14 "
b"\x01 ”ƒ\x19 g\x03 pΑfæíÖ¬V] "
b"""
\x01 öâ\n
Óîp;ÅÚ:Ñ@┘uË
"""
b"\x01 öé°!├qQªà\x06 ╣l¹éÅ "
b"\x01 ”‚ç,br²¨î\v ªÜ\x16 ¿§ "
]
SELECT
`order` . `id` as `order.id` ,
`order` . `version_id` as `order.versionId` ,
`order` . `auto_increment` as `order.autoIncrement` ,
`order` . `order_number` as `order.orderNumber` ,
`order` . `billing_address_id` as `order.billingAddressId` ,
`order` . `billing_address_version_id` as `order.billingAddressVersionId` ,
`order` . `currency_id` as `order.currencyId` ,
`order` . `language_id` as `order.languageId` ,
`order` . `sales_channel_id` as `order.salesChannelId` ,
`order` . `order_date_time` as `order.orderDateTime` ,
`order` . `order_date` as `order.orderDate` ,
`order` . `price` as `order.price` ,
`order` . `amount_total` as `order.amountTotal` ,
`order` . `amount_net` as `order.amountNet` ,
`order` . `position_price` as `order.positionPrice` ,
`order` . `tax_status` as `order.taxStatus` ,
`order` . `shipping_costs` as `order.shippingCosts` ,
`order` . `shipping_total` as `order.shippingTotal` ,
`order` . `currency_factor` as `order.currencyFactor` ,
`order` . `deep_link_code` as `order.deepLinkCode` ,
`order` . `affiliate_code` as `order.affiliateCode` ,
`order` . `campaign_code` as `order.campaignCode` ,
`order` . `customer_comment` as `order.customerComment` ,
`order` . `source` as `order.source` ,
`order` . `state_id` as `order.stateId` ,
`order` . `rule_ids` as `order.ruleIds` ,
`order` . `custom_fields` as `order.customFields` ,
`order` . `created_by_id` as `order.createdById` ,
`order` . `updated_by_id` as `order.updatedById` ,
`order.orderCustomer` . `id` as `order.orderCustomer.id` ,
`order.orderCustomer` . `version_id` as `order.orderCustomer.versionId` ,
`order.orderCustomer` . `customer_id` as `order.orderCustomer.customerId` ,
`order.orderCustomer` . `order_id` as `order.orderCustomer.orderId` ,
`order.orderCustomer` . `order_version_id` as `order.orderCustomer.orderVersionId` ,
`order.orderCustomer` . `email` as `order.orderCustomer.email` ,
`order.orderCustomer` . `salutation_id` as `order.orderCustomer.salutationId` ,
`order.orderCustomer` . `first_name` as `order.orderCustomer.firstName` ,
`order.orderCustomer` . `last_name` as `order.orderCustomer.lastName` ,
`order.orderCustomer` . `company` as `order.orderCustomer.company` ,
`order.orderCustomer` . `title` as `order.orderCustomer.title` ,
`order.orderCustomer` . `vat_ids` as `order.orderCustomer.vatIds` ,
`order.orderCustomer` . `customer_number` as `order.orderCustomer.customerNumber` ,
`order.orderCustomer` . `custom_fields` as `order.orderCustomer.customFields` ,
`order.orderCustomer` . `remote_address` as `order.orderCustomer.remoteAddress` ,
`order.orderCustomer` . `created_at` as `order.orderCustomer.createdAt` ,
`order.orderCustomer` . `updated_at` as `order.orderCustomer.updatedAt` ,
`order` . `item_rounding` as `order.itemRounding` ,
`order` . `total_rounding` as `order.totalRounding` ,
`order` . `created_at` as `order.createdAt` ,
`order` . `updated_at` as `order.updatedAt` ,
`order.merchantOfTrustExtension` . `id` as `order.merchantOfTrustExtension.id` ,
`order.merchantOfTrustExtension` . `order_id` as `order.merchantOfTrustExtension.orderId` ,
`order.merchantOfTrustExtension` . `merchant_id` as `order.merchantOfTrustExtension.merchantId` ,
`order.merchantOfTrustExtension` . `created_at` as `order.merchantOfTrustExtension.createdAt` ,
`order.merchantOfTrustExtension` . `updated_at` as `order.merchantOfTrustExtension.updatedAt` ,
`order.billingAddress` . `id` as `order.billingAddress.id` ,
`order.billingAddress` . `version_id` as `order.billingAddress.versionId` ,
`order.billingAddress` . `country_id` as `order.billingAddress.countryId` ,
`order.billingAddress` . `country_state_id` as `order.billingAddress.countryStateId` ,
`order.billingAddress` . `order_id` as `order.billingAddress.orderId` ,
`order.billingAddress` . `order_version_id` as `order.billingAddress.orderVersionId` ,
`order.billingAddress` . `salutation_id` as `order.billingAddress.salutationId` ,
`order.billingAddress` . `first_name` as `order.billingAddress.firstName` ,
`order.billingAddress` . `last_name` as `order.billingAddress.lastName` ,
`order.billingAddress` . `street` as `order.billingAddress.street` ,
`order.billingAddress` . `zipcode` as `order.billingAddress.zipcode` ,
`order.billingAddress` . `city` as `order.billingAddress.city` ,
`order.billingAddress` . `company` as `order.billingAddress.company` ,
`order.billingAddress` . `department` as `order.billingAddress.department` ,
`order.billingAddress` . `title` as `order.billingAddress.title` ,
`order.billingAddress` . `vat_id` as `order.billingAddress.vatId` ,
`order.billingAddress` . `phone_number` as `order.billingAddress.phoneNumber` ,
`order.billingAddress` . `additional_address_line1` as `order.billingAddress.additionalAddressLine1` ,
`order.billingAddress` . `additional_address_line2` as `order.billingAddress.additionalAddressLine2` ,
`order.billingAddress` . `custom_fields` as `order.billingAddress.customFields` ,
`order.billingAddress` . `created_at` as `order.billingAddress.createdAt` ,
`order.billingAddress` . `updated_at` as `order.billingAddress.updatedAt` ,
`order.salesChannel` . `id` as `order.salesChannel.id` ,
`order.salesChannel` . `type_id` as `order.salesChannel.typeId` ,
`order.salesChannel` . `language_id` as `order.salesChannel.languageId` ,
`order.salesChannel` . `customer_group_id` as `order.salesChannel.customerGroupId` ,
`order.salesChannel` . `currency_id` as `order.salesChannel.currencyId` ,
`order.salesChannel` . `payment_method_id` as `order.salesChannel.paymentMethodId` ,
`order.salesChannel` . `shipping_method_id` as `order.salesChannel.shippingMethodId` ,
`order.salesChannel` . `country_id` as `order.salesChannel.countryId` ,
`order.salesChannel` . `analytics_id` as `order.salesChannel.analyticsId` ,
`order.salesChannel` . `navigation_category_id` as `order.salesChannel.navigationCategoryId` ,
`order.salesChannel` . `navigation_category_version_id` as `order.salesChannel.navigationCategoryVersionId` ,
`order.salesChannel` . `navigation_category_depth` as `order.salesChannel.navigationCategoryDepth` ,
`order.salesChannel` . `footer_category_id` as `order.salesChannel.footerCategoryId` ,
`order.salesChannel` . `footer_category_version_id` as `order.salesChannel.footerCategoryVersionId` ,
`order.salesChannel` . `service_category_id` as `order.salesChannel.serviceCategoryId` ,
`order.salesChannel` . `service_category_version_id` as `order.salesChannel.serviceCategoryVersionId` ,
`order.salesChannel` . `mail_header_footer_id` as `order.salesChannel.mailHeaderFooterId` ,
`order.salesChannel` . `hreflang_default_domain_id` as `order.salesChannel.hreflangDefaultDomainId` ,
`order.salesChannel` . `short_name` as `order.salesChannel.shortName` ,
`order.salesChannel` . `tax_calculation_type` as `order.salesChannel.taxCalculationType` ,
`order.salesChannel` . `access_key` as `order.salesChannel.accessKey` ,
`order.salesChannel` . `configuration` as `order.salesChannel.configuration` ,
`order.salesChannel` . `active` as `order.salesChannel.active` ,
`order.salesChannel` . `hreflang_active` as `order.salesChannel.hreflangActive` ,
`order.salesChannel` . `maintenance` as `order.salesChannel.maintenance` ,
`order.salesChannel` . `maintenance_ip_whitelist` as `order.salesChannel.maintenanceIpWhitelist` ,
`order.salesChannel` . `payment_method_ids` as `order.salesChannel.paymentMethodIds` ,
`order.salesChannel` . `home_cms_page_id` as `order.salesChannel.homeCmsPageId` ,
`order.salesChannel` . `home_cms_page_version_id` as `order.salesChannel.homeCmsPageVersionId` ,
`order.salesChannel` . `created_at` as `order.salesChannel.createdAt` ,
`order.salesChannel` . `updated_at` as `order.salesChannel.updatedAt` ,
`order.salesChannel.translation.name` ,
`order.salesChannel.translation.name` as `order.salesChannel.name` ,
`order.salesChannel.translation.homeSlotConfig` ,
`order.salesChannel.translation.homeSlotConfig` as `order.salesChannel.homeSlotConfig` ,
`order.salesChannel.translation.homeEnabled` ,
`order.salesChannel.translation.homeEnabled` as `order.salesChannel.homeEnabled` ,
`order.salesChannel.translation.homeName` ,
`order.salesChannel.translation.homeName` as `order.salesChannel.homeName` ,
`order.salesChannel.translation.homeMetaTitle` ,
`order.salesChannel.translation.homeMetaTitle` as `order.salesChannel.homeMetaTitle` ,
`order.salesChannel.translation.homeMetaDescription` ,
`order.salesChannel.translation.homeMetaDescription` as `order.salesChannel.homeMetaDescription` ,
`order.salesChannel.translation.homeKeywords` ,
`order.salesChannel.translation.homeKeywords` as `order.salesChannel.homeKeywords` ,
`order.salesChannel.translation.customFields` ,
`order.salesChannel.translation.customFields` as `order.salesChannel.customFields` ,
`order.currency` . `id` as `order.currency.id` ,
`order.currency` . `factor` as `order.currency.factor` ,
`order.currency` . `symbol` as `order.currency.symbol` ,
`order.currency` . `iso_code` as `order.currency.isoCode` ,
`order.currency` . `position` as `order.currency.position` ,
`order.currency` . `tax_free_from` as `order.currency.taxFreeFrom` ,
`order.currency` . `item_rounding` as `order.currency.itemRounding` ,
`order.currency` . `total_rounding` as `order.currency.totalRounding` ,
`order.currency` . `created_at` as `order.currency.createdAt` ,
`order.currency` . `updated_at` as `order.currency.updatedAt` ,
`order.currency.translation.shortName` ,
`order.currency.translation.shortName` as `order.currency.shortName` ,
`order.currency.translation.name` ,
`order.currency.translation.name` as `order.currency.name` ,
`order.currency.translation.customFields` ,
`order.currency.translation.customFields` as `order.currency.customFields` ,
`order.stateMachineState` . `id` as `order.stateMachineState.id` ,
`order.stateMachineState` . `technical_name` as `order.stateMachineState.technicalName` ,
`order.stateMachineState` . `state_machine_id` as `order.stateMachineState.stateMachineId` ,
`order.stateMachineState` . `created_at` as `order.stateMachineState.createdAt` ,
`order.stateMachineState` . `updated_at` as `order.stateMachineState.updatedAt` ,
`order.stateMachineState.translation.name` ,
`order.stateMachineState.translation.name` as `order.stateMachineState.name` ,
`order.stateMachineState.translation.customFields` ,
`order.stateMachineState.translation.customFields` as `order.stateMachineState.customFields`
FROM
`order`
LEFT JOIN `order_customer` `order.orderCustomer` ON `order` . `id` = `order.orderCustomer` . `order_id`
AND `order` . `version_id` = `order.orderCustomer` . `order_version_id`
LEFT JOIN `intellicon_merchant_of_trust_extension` `order.merchantOfTrustExtension` ON `order` . `id` = `order.merchantOfTrustExtension` . `order_id`
LEFT JOIN `order_address` `order.billingAddress` ON `order` . `billing_address_id` = `order.billingAddress` . `id`
AND `order` . `billing_address_version_id` = `order.billingAddress` . `version_id`
LEFT JOIN `sales_channel` `order.salesChannel` ON `order` . `sales_channel_id` = `order.salesChannel` . `id`
LEFT JOIN `currency` `order.currency` ON `order` . `currency_id` = `order.currency` . `id`
LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order` . `state_id` = `order.stateMachineState` . `id`
LEFT JOIN (
SELECT
`order.salesChannel.translation` . `sales_channel_id` ,
`order.salesChannel.translation` . `name` as `order.salesChannel.translation.name` ,
`order.salesChannel.translation` . `custom_fields` as `order.salesChannel.translation.customFields` ,
`order.salesChannel.translation` . `home_slot_config` as `order.salesChannel.translation.homeSlotConfig` ,
`order.salesChannel.translation` . `home_enabled` as `order.salesChannel.translation.homeEnabled` ,
`order.salesChannel.translation` . `home_name` as `order.salesChannel.translation.homeName` ,
`order.salesChannel.translation` . `home_meta_title` as `order.salesChannel.translation.homeMetaTitle` ,
`order.salesChannel.translation` . `home_meta_description` as `order.salesChannel.translation.homeMetaDescription` ,
`order.salesChannel.translation` . `home_keywords` as `order.salesChannel.translation.homeKeywords`
FROM
`sales_channel_translation` `order.salesChannel.translation`
WHERE
`order.salesChannel.translation` . `language_id` = ?
) `order.salesChannel.sales_channel_translation` ON `order.salesChannel.sales_channel_translation` . `sales_channel_id` = `order.salesChannel` . `id`
LEFT JOIN (
SELECT
`order.currency.translation` . `currency_id` ,
`order.currency.translation` . `short_name` as `order.currency.translation.shortName` ,
`order.currency.translation` . `name` as `order.currency.translation.name` ,
`order.currency.translation` . `custom_fields` as `order.currency.translation.customFields`
FROM
`currency_translation` `order.currency.translation`
WHERE
`order.currency.translation` . `language_id` = ?
) `order.currency.currency_translation` ON `order.currency.currency_translation` . `currency_id` = `order.currency` . `id`
LEFT JOIN (
SELECT
`order.stateMachineState.translation` . `state_machine_state_id` ,
`order.stateMachineState.translation` . `name` as `order.stateMachineState.translation.name` ,
`order.stateMachineState.translation` . `custom_fields` as `order.stateMachineState.translation.customFields`
FROM
`state_machine_state_translation` `order.stateMachineState.translation`
WHERE
`order.stateMachineState.translation` . `language_id` = ?
) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order.stateMachineState` . `id`
WHERE
(`order` . `version_id` = ? )
AND (
`order` . `id` IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ?
)
)
Copy
SELECT `order` . `id` as `order.id` , `order` . `version_id` as `order.versionId` , `order` . `auto_increment` as `order.autoIncrement` , `order` . `order_number` as `order.orderNumber` , `order` . `billing_address_id` as `order.billingAddressId` , `order` . `billing_address_version_id` as `order.billingAddressVersionId` , `order` . `currency_id` as `order.currencyId` , `order` . `language_id` as `order.languageId` , `order` . `sales_channel_id` as `order.salesChannelId` , `order` . `order_date_time` as `order.orderDateTime` , `order` . `order_date` as `order.orderDate` , `order` . `price` as `order.price` , `order` . `amount_total` as `order.amountTotal` , `order` . `amount_net` as `order.amountNet` , `order` . `position_price` as `order.positionPrice` , `order` . `tax_status` as `order.taxStatus` , `order` . `shipping_costs` as `order.shippingCosts` , `order` . `shipping_total` as `order.shippingTotal` , `order` . `currency_factor` as `order.currencyFactor` , `order` . `deep_link_code` as `order.deepLinkCode` , `order` . `affiliate_code` as `order.affiliateCode` , `order` . `campaign_code` as `order.campaignCode` , `order` . `customer_comment` as `order.customerComment` , `order` . `source` as `order.source` , `order` . `state_id` as `order.stateId` , `order` . `rule_ids` as `order.ruleIds` , `order` . `custom_fields` as `order.customFields` , `order` . `created_by_id` as `order.createdById` , `order` . `updated_by_id` as `order.updatedById` , `order.orderCustomer` . `id` as `order.orderCustomer.id` , `order.orderCustomer` . `version_id` as `order.orderCustomer.versionId` , `order.orderCustomer` . `customer_id` as `order.orderCustomer.customerId` , `order.orderCustomer` . `order_id` as `order.orderCustomer.orderId` , `order.orderCustomer` . `order_version_id` as `order.orderCustomer.orderVersionId` , `order.orderCustomer` . `email` as `order.orderCustomer.email` , `order.orderCustomer` . `salutation_id` as `order.orderCustomer.salutationId` , `order.orderCustomer` . `first_name` as `order.orderCustomer.firstName` , `order.orderCustomer` . `last_name` as `order.orderCustomer.lastName` , `order.orderCustomer` . `company` as `order.orderCustomer.company` , `order.orderCustomer` . `title` as `order.orderCustomer.title` , `order.orderCustomer` . `vat_ids` as `order.orderCustomer.vatIds` , `order.orderCustomer` . `customer_number` as `order.orderCustomer.customerNumber` , `order.orderCustomer` . `custom_fields` as `order.orderCustomer.customFields` , `order.orderCustomer` . `remote_address` as `order.orderCustomer.remoteAddress` , `order.orderCustomer` . `created_at` as `order.orderCustomer.createdAt` , `order.orderCustomer` . `updated_at` as `order.orderCustomer.updatedAt` , `order` . `item_rounding` as `order.itemRounding` , `order` . `total_rounding` as `order.totalRounding` , `order` . `created_at` as `order.createdAt` , `order` . `updated_at` as `order.updatedAt` , `order.merchantOfTrustExtension` . `id` as `order.merchantOfTrustExtension.id` , `order.merchantOfTrustExtension` . `order_id` as `order.merchantOfTrustExtension.orderId` , `order.merchantOfTrustExtension` . `merchant_id` as `order.merchantOfTrustExtension.merchantId` , `order.merchantOfTrustExtension` . `created_at` as `order.merchantOfTrustExtension.createdAt` , `order.merchantOfTrustExtension` . `updated_at` as `order.merchantOfTrustExtension.updatedAt` , `order.billingAddress` . `id` as `order.billingAddress.id` , `order.billingAddress` . `version_id` as `order.billingAddress.versionId` , `order.billingAddress` . `country_id` as `order.billingAddress.countryId` , `order.billingAddress` . `country_state_id` as `order.billingAddress.countryStateId` , `order.billingAddress` . `order_id` as `order.billingAddress.orderId` , `order.billingAddress` . `order_version_id` as `order.billingAddress.orderVersionId` , `order.billingAddress` . `salutation_id` as `order.billingAddress.salutationId` , `order.billingAddress` . `first_name` as `order.billingAddress.firstName` , `order.billingAddress` . `last_name` as `order.billingAddress.lastName` , `order.billingAddress` . `street` as `order.billingAddress.street` , `order.billingAddress` . `zipcode` as `order.billingAddress.zipcode` , `order.billingAddress` . `city` as `order.billingAddress.city` , `order.billingAddress` . `company` as `order.billingAddress.company` , `order.billingAddress` . `department` as `order.billingAddress.department` , `order.billingAddress` . `title` as `order.billingAddress.title` , `order.billingAddress` . `vat_id` as `order.billingAddress.vatId` , `order.billingAddress` . `phone_number` as `order.billingAddress.phoneNumber` , `order.billingAddress` . `additional_address_line1` as `order.billingAddress.additionalAddressLine1` , `order.billingAddress` . `additional_address_line2` as `order.billingAddress.additionalAddressLine2` , `order.billingAddress` . `custom_fields` as `order.billingAddress.customFields` , `order.billingAddress` . `created_at` as `order.billingAddress.createdAt` , `order.billingAddress` . `updated_at` as `order.billingAddress.updatedAt` , `order.salesChannel` . `id` as `order.salesChannel.id` , `order.salesChannel` . `type_id` as `order.salesChannel.typeId` , `order.salesChannel` . `language_id` as `order.salesChannel.languageId` , `order.salesChannel` . `customer_group_id` as `order.salesChannel.customerGroupId` , `order.salesChannel` . `currency_id` as `order.salesChannel.currencyId` , `order.salesChannel` . `payment_method_id` as `order.salesChannel.paymentMethodId` , `order.salesChannel` . `shipping_method_id` as `order.salesChannel.shippingMethodId` , `order.salesChannel` . `country_id` as `order.salesChannel.countryId` , `order.salesChannel` . `analytics_id` as `order.salesChannel.analyticsId` , `order.salesChannel` . `navigation_category_id` as `order.salesChannel.navigationCategoryId` , `order.salesChannel` . `navigation_category_version_id` as `order.salesChannel.navigationCategoryVersionId` , `order.salesChannel` . `navigation_category_depth` as `order.salesChannel.navigationCategoryDepth` , `order.salesChannel` . `footer_category_id` as `order.salesChannel.footerCategoryId` , `order.salesChannel` . `footer_category_version_id` as `order.salesChannel.footerCategoryVersionId` , `order.salesChannel` . `service_category_id` as `order.salesChannel.serviceCategoryId` , `order.salesChannel` . `service_category_version_id` as `order.salesChannel.serviceCategoryVersionId` , `order.salesChannel` . `mail_header_footer_id` as `order.salesChannel.mailHeaderFooterId` , `order.salesChannel` . `hreflang_default_domain_id` as `order.salesChannel.hreflangDefaultDomainId` , `order.salesChannel` . `short_name` as `order.salesChannel.shortName` , `order.salesChannel` . `tax_calculation_type` as `order.salesChannel.taxCalculationType` , `order.salesChannel` . `access_key` as `order.salesChannel.accessKey` , `order.salesChannel` . `configuration` as `order.salesChannel.configuration` , `order.salesChannel` . `active` as `order.salesChannel.active` , `order.salesChannel` . `hreflang_active` as `order.salesChannel.hreflangActive` , `order.salesChannel` . `maintenance` as `order.salesChannel.maintenance` , `order.salesChannel` . `maintenance_ip_whitelist` as `order.salesChannel.maintenanceIpWhitelist` , `order.salesChannel` . `payment_method_ids` as `order.salesChannel.paymentMethodIds` , `order.salesChannel` . `home_cms_page_id` as `order.salesChannel.homeCmsPageId` , `order.salesChannel` . `home_cms_page_version_id` as `order.salesChannel.homeCmsPageVersionId` , `order.salesChannel` . `created_at` as `order.salesChannel.createdAt` , `order.salesChannel` . `updated_at` as `order.salesChannel.updatedAt` , `order.salesChannel.translation.name` , `order.salesChannel.translation.name` as `order.salesChannel.name` , `order.salesChannel.translation.homeSlotConfig` , `order.salesChannel.translation.homeSlotConfig` as `order.salesChannel.homeSlotConfig` , `order.salesChannel.translation.homeEnabled` , `order.salesChannel.translation.homeEnabled` as `order.salesChannel.homeEnabled` , `order.salesChannel.translation.homeName` , `order.salesChannel.translation.homeName` as `order.salesChannel.homeName` , `order.salesChannel.translation.homeMetaTitle` , `order.salesChannel.translation.homeMetaTitle` as `order.salesChannel.homeMetaTitle` , `order.salesChannel.translation.homeMetaDescription` , `order.salesChannel.translation.homeMetaDescription` as `order.salesChannel.homeMetaDescription` , `order.salesChannel.translation.homeKeywords` , `order.salesChannel.translation.homeKeywords` as `order.salesChannel.homeKeywords` , `order.salesChannel.translation.customFields` , `order.salesChannel.translation.customFields` as `order.salesChannel.customFields` , `order.currency` . `id` as `order.currency.id` , `order.currency` . `factor` as `order.currency.factor` , `order.currency` . `symbol` as `order.currency.symbol` , `order.currency` . `iso_code` as `order.currency.isoCode` , `order.currency` . `position` as `order.currency.position` , `order.currency` . `tax_free_from` as `order.currency.taxFreeFrom` , `order.currency` . `item_rounding` as `order.currency.itemRounding` , `order.currency` . `total_rounding` as `order.currency.totalRounding` , `order.currency` . `created_at` as `order.currency.createdAt` , `order.currency` . `updated_at` as `order.currency.updatedAt` , `order.currency.translation.shortName` , `order.currency.translation.shortName` as `order.currency.shortName` , `order.currency.translation.name` , `order.currency.translation.name` as `order.currency.name` , `order.currency.translation.customFields` , `order.currency.translation.customFields` as `order.currency.customFields` , `order.stateMachineState` . `id` as `order.stateMachineState.id` , `order.stateMachineState` . `technical_name` as `order.stateMachineState.technicalName` , `order.stateMachineState` . `state_machine_id` as `order.stateMachineState.stateMachineId` , `order.stateMachineState` . `created_at` as `order.stateMachineState.createdAt` , `order.stateMachineState` . `updated_at` as `order.stateMachineState.updatedAt` , `order.stateMachineState.translation.name` , `order.stateMachineState.translation.name` as `order.stateMachineState.name` , `order.stateMachineState.translation.customFields` , `order.stateMachineState.translation.customFields` as `order.stateMachineState.customFields` FROM `order` LEFT JOIN `order_customer` `order.orderCustomer` ON `order` . `id` = `order.orderCustomer` . `order_id` AND `order` . `version_id` = `order.orderCustomer` . `order_version_id` LEFT JOIN `intellicon_merchant_of_trust_extension` `order.merchantOfTrustExtension` ON `order` . `id` = `order.merchantOfTrustExtension` . `order_id` LEFT JOIN `order_address` `order.billingAddress` ON `order` . `billing_address_id` = `order.billingAddress` . `id` AND `order` . `billing_address_version_id` = `order.billingAddress` . `version_id` LEFT JOIN `sales_channel` `order.salesChannel` ON `order` . `sales_channel_id` = `order.salesChannel` . `id` LEFT JOIN `currency` `order.currency` ON `order` . `currency_id` = `order.currency` . `id` LEFT JOIN `state_machine_state` `order.stateMachineState` ON `order` . `state_id` = `order.stateMachineState` . `id` LEFT JOIN (SELECT `order.salesChannel.translation` . `sales_channel_id` , `order.salesChannel.translation` . `name` as `order.salesChannel.translation.name` , `order.salesChannel.translation` . `custom_fields` as `order.salesChannel.translation.customFields` , `order.salesChannel.translation` . `home_slot_config` as `order.salesChannel.translation.homeSlotConfig` , `order.salesChannel.translation` . `home_enabled` as `order.salesChannel.translation.homeEnabled` , `order.salesChannel.translation` . `home_name` as `order.salesChannel.translation.homeName` , `order.salesChannel.translation` . `home_meta_title` as `order.salesChannel.translation.homeMetaTitle` , `order.salesChannel.translation` . `home_meta_description` as `order.salesChannel.translation.homeMetaDescription` , `order.salesChannel.translation` . `home_keywords` as `order.salesChannel.translation.homeKeywords` FROM `sales_channel_translation` `order.salesChannel.translation` WHERE `order.salesChannel.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order.salesChannel.sales_channel_translation` ON `order.salesChannel.sales_channel_translation` . `sales_channel_id` = `order.salesChannel` . `id` LEFT JOIN (SELECT `order.currency.translation` . `currency_id` , `order.currency.translation` . `short_name` as `order.currency.translation.shortName` , `order.currency.translation` . `name` as `order.currency.translation.name` , `order.currency.translation` . `custom_fields` as `order.currency.translation.customFields` FROM `currency_translation` `order.currency.translation` WHERE `order.currency.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order.currency.currency_translation` ON `order.currency.currency_translation` . `currency_id` = `order.currency` . `id` LEFT JOIN (SELECT `order.stateMachineState.translation` . `state_machine_state_id` , `order.stateMachineState.translation` . `name` as `order.stateMachineState.translation.name` , `order.stateMachineState.translation` . `custom_fields` as `order.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order.stateMachineState.translation` WHERE `order.stateMachineState.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order.stateMachineState.state_machine_state_translation` ON `order.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order.stateMachineState` . `id` WHERE (`order` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`order` . `id` IN (0x01948876ECF67066AE2A2A4164C4E0F9 , 0x0194886A313072F1B803511F0C65748F , 0x01948864F2AD7126AA5F451255E14502 , 0x019488584F31700D91D9F760488CBA1C , 0x01948843AB5970D98041C7493AF64D7E , 0x01948840427570D28186EA0009B0C869 , 0x01948833A294721595D5B1CEAB2C158B , 0x0194882FCFBC712BBD139CB7EAE89D56 , 0x01948822E18F73BD847E5048B6D55DC9 , 0x01948746EFAA7052BFAC4FA2B7B18EA5 , 0x019484C3B39F7069A845E8860B06C133 , 0x0194844EC73D7157B68F1870E95FB2B2 , 0x0194842E123672919ADA7FBD2469BAA1 , 0x01948410C226735EB67B6F5AF9A6493B , 0x019483ED44B170CEB2B10F1D4C512987 , 0x019483E697E9708D8420481535494571 , 0x01948388D72F7355B809F6E82F0BF5FC , 0x0194834A559D7342BD5889D4C86D50E9 , 0x019483367AB671D48A94BA04BE66DC84 , 0x0194832FECFE707AACCDD2F6B3CD86C0 , 0x01948328F00E7285AE0BA1AAC098A814 , 0x01948319670370CE9166E6EDD6AC565D , 0x0194830AE08C703B8FE93AA540D975D3 , 0x019482F821C37151A68506B96CFB828F , 0x019482E72C6272B2A8EE0BAADC16BFA7 ));
Copy
15
0.44 ms
SELECT `order_address` . `id` as `order_address.id` , `order_address` . `version_id` as `order_address.versionId` , `order_address` . `country_id` as `order_address.countryId` , `order_address` . `country_state_id` as `order_address.countryStateId` , `order_address` . `order_id` as `order_address.orderId` , `order_address` . `order_version_id` as `order_address.orderVersionId` , `order_address` . `salutation_id` as `order_address.salutationId` , `order_address` . `first_name` as `order_address.firstName` , `order_address` . `last_name` as `order_address.lastName` , `order_address` . `street` as `order_address.street` , `order_address` . `zipcode` as `order_address.zipcode` , `order_address` . `city` as `order_address.city` , `order_address` . `company` as `order_address.company` , `order_address` . `department` as `order_address.department` , `order_address` . `title` as `order_address.title` , `order_address` . `vat_id` as `order_address.vatId` , `order_address` . `phone_number` as `order_address.phoneNumber` , `order_address` . `additional_address_line1` as `order_address.additionalAddressLine1` , `order_address` . `additional_address_line2` as `order_address.additionalAddressLine2` , `order_address` . `custom_fields` as `order_address.customFields` , `order_address` . `created_at` as `order_address.createdAt` , `order_address` . `updated_at` as `order_address.updatedAt` FROM `order_address` WHERE (`order_address` . `version_id` = ? ) AND ((`order_address` . `order_id` IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ”‚ç,br²¨î\v ªÜ\x16 ¿§ "
b"\x01 öé°!├qQªà\x06 ╣l¹éÅ "
b"""
\x01 öâ\n
Óîp;ÅÚ:Ñ@┘uË
"""
b"\x01 ”ƒ\x19 g\x03 pΑfæíÖ¬V] "
b"\x01 ”ƒ(ð\x0E r…®\v ¡ªÀ˜¨\x14 "
b"\x01 ”ƒ/ìþpz¬ÍÒö³Í†À "
b"\x01 ”ƒ6z¶qÔŠ”º\x04 ¾fÜ„ "
b"\x01 öâJUØsB¢XëÈ╚mPÚ "
b"\x01 ”ƒˆ×/sU¸\t öè/\v õü "
b"\x01 öâµùÚpìä H\x15 5IEq "
b"\x01 ”ƒíD±pβ±\x0F\x1D LQ)‡ "
b"\x01 ”„\x10 Â&s^¶{oZù¦I; "
b"\x01 ”„.\x12 6r‘šÚ\x7F ½$iº¡ "
b"\x01 öäNÃ=qWÂÅ\x18 pÚ_▓▓ "
b"\x01 ”„óŸpi¨Eè†\v\x06 Á3 "
b"\x01 ”‡FïªpR¿¬O¢·±Ž¥ "
b"\x01 öê"ßÅs¢ä~PHÂı]╔ "
b"\x01 öê/¤╝q+¢\x13 £ÀÛÞØV "
b"\x01 ”ˆ3¢”r\x15 •Õ±Î«,\x15 ‹ "
b"\x01 öê@BupÊüåÛ\x00\t ░╚i "
b"\x01 ”ˆC«YpÙ€AÇI:öM~ "
b"\x01 ”ˆXO1p\r ‘Ù÷`HŒº\x1C "
b"\x01 ”ˆdòq&ª_E\x12 UáE\x02 "
b"\x01 öêj10r±©\x03 Q\x1F\f etÅ "
b"\x01 ”ˆvìöpf®**AdÄàù "
]
SELECT
`order_address` . `id` as `order_address.id` ,
`order_address` . `version_id` as `order_address.versionId` ,
`order_address` . `country_id` as `order_address.countryId` ,
`order_address` . `country_state_id` as `order_address.countryStateId` ,
`order_address` . `order_id` as `order_address.orderId` ,
`order_address` . `order_version_id` as `order_address.orderVersionId` ,
`order_address` . `salutation_id` as `order_address.salutationId` ,
`order_address` . `first_name` as `order_address.firstName` ,
`order_address` . `last_name` as `order_address.lastName` ,
`order_address` . `street` as `order_address.street` ,
`order_address` . `zipcode` as `order_address.zipcode` ,
`order_address` . `city` as `order_address.city` ,
`order_address` . `company` as `order_address.company` ,
`order_address` . `department` as `order_address.department` ,
`order_address` . `title` as `order_address.title` ,
`order_address` . `vat_id` as `order_address.vatId` ,
`order_address` . `phone_number` as `order_address.phoneNumber` ,
`order_address` . `additional_address_line1` as `order_address.additionalAddressLine1` ,
`order_address` . `additional_address_line2` as `order_address.additionalAddressLine2` ,
`order_address` . `custom_fields` as `order_address.customFields` ,
`order_address` . `created_at` as `order_address.createdAt` ,
`order_address` . `updated_at` as `order_address.updatedAt`
FROM
`order_address`
WHERE
(`order_address` . `version_id` = ? )
AND (
(
`order_address` . `order_id` IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ?
)
)
)
Copy
SELECT `order_address` . `id` as `order_address.id` , `order_address` . `version_id` as `order_address.versionId` , `order_address` . `country_id` as `order_address.countryId` , `order_address` . `country_state_id` as `order_address.countryStateId` , `order_address` . `order_id` as `order_address.orderId` , `order_address` . `order_version_id` as `order_address.orderVersionId` , `order_address` . `salutation_id` as `order_address.salutationId` , `order_address` . `first_name` as `order_address.firstName` , `order_address` . `last_name` as `order_address.lastName` , `order_address` . `street` as `order_address.street` , `order_address` . `zipcode` as `order_address.zipcode` , `order_address` . `city` as `order_address.city` , `order_address` . `company` as `order_address.company` , `order_address` . `department` as `order_address.department` , `order_address` . `title` as `order_address.title` , `order_address` . `vat_id` as `order_address.vatId` , `order_address` . `phone_number` as `order_address.phoneNumber` , `order_address` . `additional_address_line1` as `order_address.additionalAddressLine1` , `order_address` . `additional_address_line2` as `order_address.additionalAddressLine2` , `order_address` . `custom_fields` as `order_address.customFields` , `order_address` . `created_at` as `order_address.createdAt` , `order_address` . `updated_at` as `order_address.updatedAt` FROM `order_address` WHERE (`order_address` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`order_address` . `order_id` IN (0x019482E72C6272B2A8EE0BAADC16BFA7 , 0x019482F821C37151A68506B96CFB828F , 0x0194830AE08C703B8FE93AA540D975D3 , 0x01948319670370CE9166E6EDD6AC565D , 0x01948328F00E7285AE0BA1AAC098A814 , 0x0194832FECFE707AACCDD2F6B3CD86C0 , 0x019483367AB671D48A94BA04BE66DC84 , 0x0194834A559D7342BD5889D4C86D50E9 , 0x01948388D72F7355B809F6E82F0BF5FC , 0x019483E697E9708D8420481535494571 , 0x019483ED44B170CEB2B10F1D4C512987 , 0x01948410C226735EB67B6F5AF9A6493B , 0x0194842E123672919ADA7FBD2469BAA1 , 0x0194844EC73D7157B68F1870E95FB2B2 , 0x019484C3B39F7069A845E8860B06C133 , 0x01948746EFAA7052BFAC4FA2B7B18EA5 , 0x01948822E18F73BD847E5048B6D55DC9 , 0x0194882FCFBC712BBD139CB7EAE89D56 , 0x01948833A294721595D5B1CEAB2C158B , 0x01948840427570D28186EA0009B0C869 , 0x01948843AB5970D98041C7493AF64D7E , 0x019488584F31700D91D9F760488CBA1C , 0x01948864F2AD7126AA5F451255E14502 , 0x0194886A313072F1B803511F0C65748F , 0x01948876ECF67066AE2A2A4164C4E0F9 )));
Copy
17
3.16 ms
SELECT `order_transaction` . `id` as `order_transaction.id` , `order_transaction` . `version_id` as `order_transaction.versionId` , `order_transaction` . `order_id` as `order_transaction.orderId` , `order_transaction` . `order_version_id` as `order_transaction.orderVersionId` , `order_transaction` . `payment_method_id` as `order_transaction.paymentMethodId` , `order_transaction` . `amount` as `order_transaction.amount` , `order_transaction` . `validation_data` as `order_transaction.validationData` , `order_transaction` . `state_id` as `order_transaction.stateId` , `order_transaction` . `custom_fields` as `order_transaction.customFields` , `order_transaction` . `created_at` as `order_transaction.createdAt` , `order_transaction` . `updated_at` as `order_transaction.updatedAt` , `order_transaction.stateMachineState` . `id` as `order_transaction.stateMachineState.id` , `order_transaction.stateMachineState` . `technical_name` as `order_transaction.stateMachineState.technicalName` , `order_transaction.stateMachineState` . `state_machine_id` as `order_transaction.stateMachineState.stateMachineId` , `order_transaction.stateMachineState` . `created_at` as `order_transaction.stateMachineState.createdAt` , `order_transaction.stateMachineState` . `updated_at` as `order_transaction.stateMachineState.updatedAt` , `order_transaction.stateMachineState.translation.name` , `order_transaction.stateMachineState.translation.name` as `order_transaction.stateMachineState.name` , `order_transaction.stateMachineState.translation.customFields` , `order_transaction.stateMachineState.translation.customFields` as `order_transaction.stateMachineState.customFields` FROM `order_transaction` LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction` . `state_id` = `order_transaction.stateMachineState` . `id` LEFT JOIN (SELECT `order_transaction.stateMachineState.translation` . `state_machine_state_id` , `order_transaction.stateMachineState.translation` . `name` as `order_transaction.stateMachineState.translation.name` , `order_transaction.stateMachineState.translation` . `custom_fields` as `order_transaction.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order_transaction.stateMachineState.translation` WHERE `order_transaction.stateMachineState.translation` . `language_id` = ? ) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_transaction.stateMachineState` . `id` WHERE (`order_transaction` . `version_id` = ? ) AND ((`order_transaction` . `order_id` IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ))) ORDER BY `order_transaction` . `created_at` ASC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ”‚ç,br²¨î\v ªÜ\x16 ¿§ "
b"\x01 öé°!├qQªà\x06 ╣l¹éÅ "
b"""
\x01 öâ\n
Óîp;ÅÚ:Ñ@┘uË
"""
b"\x01 ”ƒ\x19 g\x03 pΑfæíÖ¬V] "
b"\x01 ”ƒ(ð\x0E r…®\v ¡ªÀ˜¨\x14 "
b"\x01 ”ƒ/ìþpz¬ÍÒö³Í†À "
b"\x01 ”ƒ6z¶qÔŠ”º\x04 ¾fÜ„ "
b"\x01 öâJUØsB¢XëÈ╚mPÚ "
b"\x01 ”ƒˆ×/sU¸\t öè/\v õü "
b"\x01 öâµùÚpìä H\x15 5IEq "
b"\x01 ”ƒíD±pβ±\x0F\x1D LQ)‡ "
b"\x01 ”„\x10 Â&s^¶{oZù¦I; "
b"\x01 ”„.\x12 6r‘šÚ\x7F ½$iº¡ "
b"\x01 öäNÃ=qWÂÅ\x18 pÚ_▓▓ "
b"\x01 ”„óŸpi¨Eè†\v\x06 Á3 "
b"\x01 ”‡FïªpR¿¬O¢·±Ž¥ "
b"\x01 öê"ßÅs¢ä~PHÂı]╔ "
b"\x01 öê/¤╝q+¢\x13 £ÀÛÞØV "
b"\x01 ”ˆ3¢”r\x15 •Õ±Î«,\x15 ‹ "
b"\x01 öê@BupÊüåÛ\x00\t ░╚i "
b"\x01 ”ˆC«YpÙ€AÇI:öM~ "
b"\x01 ”ˆXO1p\r ‘Ù÷`HŒº\x1C "
b"\x01 ”ˆdòq&ª_E\x12 UáE\x02 "
b"\x01 öêj10r±©\x03 Q\x1F\f etÅ "
b"\x01 ”ˆvìöpf®**AdÄàù "
]
SELECT
`order_transaction` . `id` as `order_transaction.id` ,
`order_transaction` . `version_id` as `order_transaction.versionId` ,
`order_transaction` . `order_id` as `order_transaction.orderId` ,
`order_transaction` . `order_version_id` as `order_transaction.orderVersionId` ,
`order_transaction` . `payment_method_id` as `order_transaction.paymentMethodId` ,
`order_transaction` . `amount` as `order_transaction.amount` ,
`order_transaction` . `validation_data` as `order_transaction.validationData` ,
`order_transaction` . `state_id` as `order_transaction.stateId` ,
`order_transaction` . `custom_fields` as `order_transaction.customFields` ,
`order_transaction` . `created_at` as `order_transaction.createdAt` ,
`order_transaction` . `updated_at` as `order_transaction.updatedAt` ,
`order_transaction.stateMachineState` . `id` as `order_transaction.stateMachineState.id` ,
`order_transaction.stateMachineState` . `technical_name` as `order_transaction.stateMachineState.technicalName` ,
`order_transaction.stateMachineState` . `state_machine_id` as `order_transaction.stateMachineState.stateMachineId` ,
`order_transaction.stateMachineState` . `created_at` as `order_transaction.stateMachineState.createdAt` ,
`order_transaction.stateMachineState` . `updated_at` as `order_transaction.stateMachineState.updatedAt` ,
`order_transaction.stateMachineState.translation.name` ,
`order_transaction.stateMachineState.translation.name` as `order_transaction.stateMachineState.name` ,
`order_transaction.stateMachineState.translation.customFields` ,
`order_transaction.stateMachineState.translation.customFields` as `order_transaction.stateMachineState.customFields`
FROM
`order_transaction`
LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction` . `state_id` = `order_transaction.stateMachineState` . `id`
LEFT JOIN (
SELECT
`order_transaction.stateMachineState.translation` . `state_machine_state_id` ,
`order_transaction.stateMachineState.translation` . `name` as `order_transaction.stateMachineState.translation.name` ,
`order_transaction.stateMachineState.translation` . `custom_fields` as `order_transaction.stateMachineState.translation.customFields`
FROM
`state_machine_state_translation` `order_transaction.stateMachineState.translation`
WHERE
`order_transaction.stateMachineState.translation` . `language_id` = ?
) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_transaction.stateMachineState` . `id`
WHERE
(
`order_transaction` . `version_id` = ?
)
AND (
(
`order_transaction` . `order_id` IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ?
)
)
)
ORDER BY
`order_transaction` . `created_at` ASC
Copy
SELECT `order_transaction` . `id` as `order_transaction.id` , `order_transaction` . `version_id` as `order_transaction.versionId` , `order_transaction` . `order_id` as `order_transaction.orderId` , `order_transaction` . `order_version_id` as `order_transaction.orderVersionId` , `order_transaction` . `payment_method_id` as `order_transaction.paymentMethodId` , `order_transaction` . `amount` as `order_transaction.amount` , `order_transaction` . `validation_data` as `order_transaction.validationData` , `order_transaction` . `state_id` as `order_transaction.stateId` , `order_transaction` . `custom_fields` as `order_transaction.customFields` , `order_transaction` . `created_at` as `order_transaction.createdAt` , `order_transaction` . `updated_at` as `order_transaction.updatedAt` , `order_transaction.stateMachineState` . `id` as `order_transaction.stateMachineState.id` , `order_transaction.stateMachineState` . `technical_name` as `order_transaction.stateMachineState.technicalName` , `order_transaction.stateMachineState` . `state_machine_id` as `order_transaction.stateMachineState.stateMachineId` , `order_transaction.stateMachineState` . `created_at` as `order_transaction.stateMachineState.createdAt` , `order_transaction.stateMachineState` . `updated_at` as `order_transaction.stateMachineState.updatedAt` , `order_transaction.stateMachineState.translation.name` , `order_transaction.stateMachineState.translation.name` as `order_transaction.stateMachineState.name` , `order_transaction.stateMachineState.translation.customFields` , `order_transaction.stateMachineState.translation.customFields` as `order_transaction.stateMachineState.customFields` FROM `order_transaction` LEFT JOIN `state_machine_state` `order_transaction.stateMachineState` ON `order_transaction` . `state_id` = `order_transaction.stateMachineState` . `id` LEFT JOIN (SELECT `order_transaction.stateMachineState.translation` . `state_machine_state_id` , `order_transaction.stateMachineState.translation` . `name` as `order_transaction.stateMachineState.translation.name` , `order_transaction.stateMachineState.translation` . `custom_fields` as `order_transaction.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order_transaction.stateMachineState.translation` WHERE `order_transaction.stateMachineState.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order_transaction.stateMachineState.state_machine_state_translation` ON `order_transaction.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_transaction.stateMachineState` . `id` WHERE (`order_transaction` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`order_transaction` . `order_id` IN (0x019482E72C6272B2A8EE0BAADC16BFA7 , 0x019482F821C37151A68506B96CFB828F , 0x0194830AE08C703B8FE93AA540D975D3 , 0x01948319670370CE9166E6EDD6AC565D , 0x01948328F00E7285AE0BA1AAC098A814 , 0x0194832FECFE707AACCDD2F6B3CD86C0 , 0x019483367AB671D48A94BA04BE66DC84 , 0x0194834A559D7342BD5889D4C86D50E9 , 0x01948388D72F7355B809F6E82F0BF5FC , 0x019483E697E9708D8420481535494571 , 0x019483ED44B170CEB2B10F1D4C512987 , 0x01948410C226735EB67B6F5AF9A6493B , 0x0194842E123672919ADA7FBD2469BAA1 , 0x0194844EC73D7157B68F1870E95FB2B2 , 0x019484C3B39F7069A845E8860B06C133 , 0x01948746EFAA7052BFAC4FA2B7B18EA5 , 0x01948822E18F73BD847E5048B6D55DC9 , 0x0194882FCFBC712BBD139CB7EAE89D56 , 0x01948833A294721595D5B1CEAB2C158B , 0x01948840427570D28186EA0009B0C869 , 0x01948843AB5970D98041C7493AF64D7E , 0x019488584F31700D91D9F760488CBA1C , 0x01948864F2AD7126AA5F451255E14502 , 0x0194886A313072F1B803511F0C65748F , 0x01948876ECF67066AE2A2A4164C4E0F9 ))) ORDER BY `order_transaction` . `created_at` ASC ;
Copy
18
1.25 ms
SELECT `order_delivery` . `id` as `order_delivery.id` , `order_delivery` . `version_id` as `order_delivery.versionId` , `order_delivery` . `order_id` as `order_delivery.orderId` , `order_delivery` . `order_version_id` as `order_delivery.orderVersionId` , `order_delivery` . `shipping_order_address_id` as `order_delivery.shippingOrderAddressId` , `order_delivery` . `shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId` , `order_delivery` . `shipping_method_id` as `order_delivery.shippingMethodId` , `order_delivery` . `state_id` as `order_delivery.stateId` , `order_delivery` . `tracking_codes` as `order_delivery.trackingCodes` , `order_delivery` . `shipping_date_earliest` as `order_delivery.shippingDateEarliest` , `order_delivery` . `shipping_date_latest` as `order_delivery.shippingDateLatest` , `order_delivery` . `shipping_costs` as `order_delivery.shippingCosts` , `order_delivery` . `custom_fields` as `order_delivery.customFields` , `order_delivery` . `created_at` as `order_delivery.createdAt` , `order_delivery` . `updated_at` as `order_delivery.updatedAt` , `order_delivery.stateMachineState` . `id` as `order_delivery.stateMachineState.id` , `order_delivery.stateMachineState` . `technical_name` as `order_delivery.stateMachineState.technicalName` , `order_delivery.stateMachineState` . `state_machine_id` as `order_delivery.stateMachineState.stateMachineId` , `order_delivery.stateMachineState` . `created_at` as `order_delivery.stateMachineState.createdAt` , `order_delivery.stateMachineState` . `updated_at` as `order_delivery.stateMachineState.updatedAt` , `order_delivery.stateMachineState.translation.name` , `order_delivery.stateMachineState.translation.name` as `order_delivery.stateMachineState.name` , `order_delivery.stateMachineState.translation.customFields` , `order_delivery.stateMachineState.translation.customFields` as `order_delivery.stateMachineState.customFields` , `order_delivery.shippingOrderAddress` . `id` as `order_delivery.shippingOrderAddress.id` , `order_delivery.shippingOrderAddress` . `version_id` as `order_delivery.shippingOrderAddress.versionId` , `order_delivery.shippingOrderAddress` . `country_id` as `order_delivery.shippingOrderAddress.countryId` , `order_delivery.shippingOrderAddress` . `country_state_id` as `order_delivery.shippingOrderAddress.countryStateId` , `order_delivery.shippingOrderAddress` . `order_id` as `order_delivery.shippingOrderAddress.orderId` , `order_delivery.shippingOrderAddress` . `order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId` , `order_delivery.shippingOrderAddress` . `salutation_id` as `order_delivery.shippingOrderAddress.salutationId` , `order_delivery.shippingOrderAddress` . `first_name` as `order_delivery.shippingOrderAddress.firstName` , `order_delivery.shippingOrderAddress` . `last_name` as `order_delivery.shippingOrderAddress.lastName` , `order_delivery.shippingOrderAddress` . `street` as `order_delivery.shippingOrderAddress.street` , `order_delivery.shippingOrderAddress` . `zipcode` as `order_delivery.shippingOrderAddress.zipcode` , `order_delivery.shippingOrderAddress` . `city` as `order_delivery.shippingOrderAddress.city` , `order_delivery.shippingOrderAddress` . `company` as `order_delivery.shippingOrderAddress.company` , `order_delivery.shippingOrderAddress` . `department` as `order_delivery.shippingOrderAddress.department` , `order_delivery.shippingOrderAddress` . `title` as `order_delivery.shippingOrderAddress.title` , `order_delivery.shippingOrderAddress` . `vat_id` as `order_delivery.shippingOrderAddress.vatId` , `order_delivery.shippingOrderAddress` . `phone_number` as `order_delivery.shippingOrderAddress.phoneNumber` , `order_delivery.shippingOrderAddress` . `additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1` , `order_delivery.shippingOrderAddress` . `additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2` , `order_delivery.shippingOrderAddress` . `custom_fields` as `order_delivery.shippingOrderAddress.customFields` , `order_delivery.shippingOrderAddress` . `created_at` as `order_delivery.shippingOrderAddress.createdAt` , `order_delivery.shippingOrderAddress` . `updated_at` as `order_delivery.shippingOrderAddress.updatedAt` , `order_delivery.shippingMethod` . `id` as `order_delivery.shippingMethod.id` , `order_delivery.shippingMethod` . `active` as `order_delivery.shippingMethod.active` , `order_delivery.shippingMethod` . `position` as `order_delivery.shippingMethod.position` , `order_delivery.shippingMethod` . `availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId` , `order_delivery.shippingMethod` . `media_id` as `order_delivery.shippingMethod.mediaId` , `order_delivery.shippingMethod` . `delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId` , `order_delivery.shippingMethod` . `tax_type` as `order_delivery.shippingMethod.taxType` , `order_delivery.shippingMethod` . `tax_id` as `order_delivery.shippingMethod.taxId` , `order_delivery.shippingMethod.deliveryTime` . `id` as `order_delivery.shippingMethod.deliveryTime.id` , `order_delivery.shippingMethod.deliveryTime` . `min` as `order_delivery.shippingMethod.deliveryTime.min` , `order_delivery.shippingMethod.deliveryTime` . `max` as `order_delivery.shippingMethod.deliveryTime.max` , `order_delivery.shippingMethod.deliveryTime` . `unit` as `order_delivery.shippingMethod.deliveryTime.unit` , `order_delivery.shippingMethod.deliveryTime` . `created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt` , `order_delivery.shippingMethod.deliveryTime` . `updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt` , `order_delivery.shippingMethod.deliveryTime.translation.name` , `order_delivery.shippingMethod.deliveryTime.translation.name` as `order_delivery.shippingMethod.deliveryTime.name` , `order_delivery.shippingMethod.deliveryTime.translation.customFields` , `order_delivery.shippingMethod.deliveryTime.translation.customFields` as `order_delivery.shippingMethod.deliveryTime.customFields` , `order_delivery.shippingMethod.appShippingMethod` . `id` as `order_delivery.shippingMethod.appShippingMethod.id` , `order_delivery.shippingMethod.appShippingMethod` . `app_name` as `order_delivery.shippingMethod.appShippingMethod.appName` , `order_delivery.shippingMethod.appShippingMethod` . `identifier` as `order_delivery.shippingMethod.appShippingMethod.identifier` , `order_delivery.shippingMethod.appShippingMethod` . `app_id` as `order_delivery.shippingMethod.appShippingMethod.appId` , `order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id` as `order_delivery.shippingMethod.appShippingMethod.shippingMethodId` , `order_delivery.shippingMethod.appShippingMethod` . `original_media_id` as `order_delivery.shippingMethod.appShippingMethod.originalMediaId` , `order_delivery.shippingMethod.appShippingMethod` . `created_at` as `order_delivery.shippingMethod.appShippingMethod.createdAt` , `order_delivery.shippingMethod.appShippingMethod` . `updated_at` as `order_delivery.shippingMethod.appShippingMethod.updatedAt` , `order_delivery.shippingMethod` . `technical_name` as `order_delivery.shippingMethod.technicalName` , `order_delivery.shippingMethod` . `created_at` as `order_delivery.shippingMethod.createdAt` , `order_delivery.shippingMethod` . `updated_at` as `order_delivery.shippingMethod.updatedAt` , `order_delivery.shippingMethod.translation.name` , `order_delivery.shippingMethod.translation.name` as `order_delivery.shippingMethod.name` , `order_delivery.shippingMethod.translation.description` , `order_delivery.shippingMethod.translation.description` as `order_delivery.shippingMethod.description` , `order_delivery.shippingMethod.translation.trackingUrl` , `order_delivery.shippingMethod.translation.trackingUrl` as `order_delivery.shippingMethod.trackingUrl` , `order_delivery.shippingMethod.translation.customFields` , `order_delivery.shippingMethod.translation.customFields` as `order_delivery.shippingMethod.customFields` FROM `order_delivery` LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery` . `state_id` = `order_delivery.stateMachineState` . `id` LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery` . `shipping_order_address_id` = `order_delivery.shippingOrderAddress` . `id` AND `order_delivery` . `shipping_order_address_version_id` = `order_delivery.shippingOrderAddress` . `version_id` LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery` . `shipping_method_id` = `order_delivery.shippingMethod` . `id` LEFT JOIN (SELECT `order_delivery.stateMachineState.translation` . `state_machine_state_id` , `order_delivery.stateMachineState.translation` . `name` as `order_delivery.stateMachineState.translation.name` , `order_delivery.stateMachineState.translation` . `custom_fields` as `order_delivery.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order_delivery.stateMachineState.translation` WHERE `order_delivery.stateMachineState.translation` . `language_id` = ? ) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_delivery.stateMachineState` . `id` LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `order_delivery.shippingMethod.appShippingMethod` ON `order_delivery.shippingMethod` . `id` = `order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id` LEFT JOIN (SELECT `order_delivery.shippingMethod.translation` . `shipping_method_id` , `order_delivery.shippingMethod.translation` . `name` as `order_delivery.shippingMethod.translation.name` , `order_delivery.shippingMethod.translation` . `custom_fields` as `order_delivery.shippingMethod.translation.customFields` , `order_delivery.shippingMethod.translation` . `description` as `order_delivery.shippingMethod.translation.description` , `order_delivery.shippingMethod.translation` . `tracking_url` as `order_delivery.shippingMethod.translation.trackingUrl` FROM `shipping_method_translation` `order_delivery.shippingMethod.translation` WHERE `order_delivery.shippingMethod.translation` . `language_id` = ? ) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation` . `shipping_method_id` = `order_delivery.shippingMethod` . `id` LEFT JOIN (SELECT `order_delivery.shippingMethod.deliveryTime.translation` . `delivery_time_id` , `order_delivery.shippingMethod.deliveryTime.translation` . `name` as `order_delivery.shippingMethod.deliveryTime.translation.name` , `order_delivery.shippingMethod.deliveryTime.translation` . `custom_fields` as `order_delivery.shippingMethod.deliveryTime.translation.customFields` FROM `delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation` WHERE `order_delivery.shippingMethod.deliveryTime.translation` . `language_id` = ? ) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id` WHERE (`order_delivery` . `version_id` = ? ) AND ((`order_delivery` . `order_id` IN (? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ))) ORDER BY IF (JSON_TYPE (JSON_EXTRACT (`order_delivery` . `shipping_costs` , '$.unitPrice' )) ! = "NULL" , JSON_UNQUOTE (JSON_EXTRACT (`order_delivery` . `shipping_costs` , '$.unitPrice' )) + 0.0 , NULL ) DESC
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"\x01 ”‚ç,br²¨î\v ªÜ\x16 ¿§ "
b"\x01 öé°!├qQªà\x06 ╣l¹éÅ "
b"""
\x01 öâ\n
Óîp;ÅÚ:Ñ@┘uË
"""
b"\x01 ”ƒ\x19 g\x03 pΑfæíÖ¬V] "
b"\x01 ”ƒ(ð\x0E r…®\v ¡ªÀ˜¨\x14 "
b"\x01 ”ƒ/ìþpz¬ÍÒö³Í†À "
b"\x01 ”ƒ6z¶qÔŠ”º\x04 ¾fÜ„ "
b"\x01 öâJUØsB¢XëÈ╚mPÚ "
b"\x01 ”ƒˆ×/sU¸\t öè/\v õü "
b"\x01 öâµùÚpìä H\x15 5IEq "
b"\x01 ”ƒíD±pβ±\x0F\x1D LQ)‡ "
b"\x01 ”„\x10 Â&s^¶{oZù¦I; "
b"\x01 ”„.\x12 6r‘šÚ\x7F ½$iº¡ "
b"\x01 öäNÃ=qWÂÅ\x18 pÚ_▓▓ "
b"\x01 ”„óŸpi¨Eè†\v\x06 Á3 "
b"\x01 ”‡FïªpR¿¬O¢·±Ž¥ "
b"\x01 öê"ßÅs¢ä~PHÂı]╔ "
b"\x01 öê/¤╝q+¢\x13 £ÀÛÞØV "
b"\x01 ”ˆ3¢”r\x15 •Õ±Î«,\x15 ‹ "
b"\x01 öê@BupÊüåÛ\x00\t ░╚i "
b"\x01 ”ˆC«YpÙ€AÇI:öM~ "
b"\x01 ”ˆXO1p\r ‘Ù÷`HŒº\x1C "
b"\x01 ”ˆdòq&ª_E\x12 UáE\x02 "
b"\x01 öêj10r±©\x03 Q\x1F\f etÅ "
b"\x01 ”ˆvìöpf®**AdÄàù "
]
SELECT
`order_delivery` . `id` as `order_delivery.id` ,
`order_delivery` . `version_id` as `order_delivery.versionId` ,
`order_delivery` . `order_id` as `order_delivery.orderId` ,
`order_delivery` . `order_version_id` as `order_delivery.orderVersionId` ,
`order_delivery` . `shipping_order_address_id` as `order_delivery.shippingOrderAddressId` ,
`order_delivery` . `shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId` ,
`order_delivery` . `shipping_method_id` as `order_delivery.shippingMethodId` ,
`order_delivery` . `state_id` as `order_delivery.stateId` ,
`order_delivery` . `tracking_codes` as `order_delivery.trackingCodes` ,
`order_delivery` . `shipping_date_earliest` as `order_delivery.shippingDateEarliest` ,
`order_delivery` . `shipping_date_latest` as `order_delivery.shippingDateLatest` ,
`order_delivery` . `shipping_costs` as `order_delivery.shippingCosts` ,
`order_delivery` . `custom_fields` as `order_delivery.customFields` ,
`order_delivery` . `created_at` as `order_delivery.createdAt` ,
`order_delivery` . `updated_at` as `order_delivery.updatedAt` ,
`order_delivery.stateMachineState` . `id` as `order_delivery.stateMachineState.id` ,
`order_delivery.stateMachineState` . `technical_name` as `order_delivery.stateMachineState.technicalName` ,
`order_delivery.stateMachineState` . `state_machine_id` as `order_delivery.stateMachineState.stateMachineId` ,
`order_delivery.stateMachineState` . `created_at` as `order_delivery.stateMachineState.createdAt` ,
`order_delivery.stateMachineState` . `updated_at` as `order_delivery.stateMachineState.updatedAt` ,
`order_delivery.stateMachineState.translation.name` ,
`order_delivery.stateMachineState.translation.name` as `order_delivery.stateMachineState.name` ,
`order_delivery.stateMachineState.translation.customFields` ,
`order_delivery.stateMachineState.translation.customFields` as `order_delivery.stateMachineState.customFields` ,
`order_delivery.shippingOrderAddress` . `id` as `order_delivery.shippingOrderAddress.id` ,
`order_delivery.shippingOrderAddress` . `version_id` as `order_delivery.shippingOrderAddress.versionId` ,
`order_delivery.shippingOrderAddress` . `country_id` as `order_delivery.shippingOrderAddress.countryId` ,
`order_delivery.shippingOrderAddress` . `country_state_id` as `order_delivery.shippingOrderAddress.countryStateId` ,
`order_delivery.shippingOrderAddress` . `order_id` as `order_delivery.shippingOrderAddress.orderId` ,
`order_delivery.shippingOrderAddress` . `order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId` ,
`order_delivery.shippingOrderAddress` . `salutation_id` as `order_delivery.shippingOrderAddress.salutationId` ,
`order_delivery.shippingOrderAddress` . `first_name` as `order_delivery.shippingOrderAddress.firstName` ,
`order_delivery.shippingOrderAddress` . `last_name` as `order_delivery.shippingOrderAddress.lastName` ,
`order_delivery.shippingOrderAddress` . `street` as `order_delivery.shippingOrderAddress.street` ,
`order_delivery.shippingOrderAddress` . `zipcode` as `order_delivery.shippingOrderAddress.zipcode` ,
`order_delivery.shippingOrderAddress` . `city` as `order_delivery.shippingOrderAddress.city` ,
`order_delivery.shippingOrderAddress` . `company` as `order_delivery.shippingOrderAddress.company` ,
`order_delivery.shippingOrderAddress` . `department` as `order_delivery.shippingOrderAddress.department` ,
`order_delivery.shippingOrderAddress` . `title` as `order_delivery.shippingOrderAddress.title` ,
`order_delivery.shippingOrderAddress` . `vat_id` as `order_delivery.shippingOrderAddress.vatId` ,
`order_delivery.shippingOrderAddress` . `phone_number` as `order_delivery.shippingOrderAddress.phoneNumber` ,
`order_delivery.shippingOrderAddress` . `additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1` ,
`order_delivery.shippingOrderAddress` . `additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2` ,
`order_delivery.shippingOrderAddress` . `custom_fields` as `order_delivery.shippingOrderAddress.customFields` ,
`order_delivery.shippingOrderAddress` . `created_at` as `order_delivery.shippingOrderAddress.createdAt` ,
`order_delivery.shippingOrderAddress` . `updated_at` as `order_delivery.shippingOrderAddress.updatedAt` ,
`order_delivery.shippingMethod` . `id` as `order_delivery.shippingMethod.id` ,
`order_delivery.shippingMethod` . `active` as `order_delivery.shippingMethod.active` ,
`order_delivery.shippingMethod` . `position` as `order_delivery.shippingMethod.position` ,
`order_delivery.shippingMethod` . `availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId` ,
`order_delivery.shippingMethod` . `media_id` as `order_delivery.shippingMethod.mediaId` ,
`order_delivery.shippingMethod` . `delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId` ,
`order_delivery.shippingMethod` . `tax_type` as `order_delivery.shippingMethod.taxType` ,
`order_delivery.shippingMethod` . `tax_id` as `order_delivery.shippingMethod.taxId` ,
`order_delivery.shippingMethod.deliveryTime` . `id` as `order_delivery.shippingMethod.deliveryTime.id` ,
`order_delivery.shippingMethod.deliveryTime` . `min` as `order_delivery.shippingMethod.deliveryTime.min` ,
`order_delivery.shippingMethod.deliveryTime` . `max` as `order_delivery.shippingMethod.deliveryTime.max` ,
`order_delivery.shippingMethod.deliveryTime` . `unit` as `order_delivery.shippingMethod.deliveryTime.unit` ,
`order_delivery.shippingMethod.deliveryTime` . `created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt` ,
`order_delivery.shippingMethod.deliveryTime` . `updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt` ,
`order_delivery.shippingMethod.deliveryTime.translation.name` ,
`order_delivery.shippingMethod.deliveryTime.translation.name` as `order_delivery.shippingMethod.deliveryTime.name` ,
`order_delivery.shippingMethod.deliveryTime.translation.customFields` ,
`order_delivery.shippingMethod.deliveryTime.translation.customFields` as `order_delivery.shippingMethod.deliveryTime.customFields` ,
`order_delivery.shippingMethod.appShippingMethod` . `id` as `order_delivery.shippingMethod.appShippingMethod.id` ,
`order_delivery.shippingMethod.appShippingMethod` . `app_name` as `order_delivery.shippingMethod.appShippingMethod.appName` ,
`order_delivery.shippingMethod.appShippingMethod` . `identifier` as `order_delivery.shippingMethod.appShippingMethod.identifier` ,
`order_delivery.shippingMethod.appShippingMethod` . `app_id` as `order_delivery.shippingMethod.appShippingMethod.appId` ,
`order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id` as `order_delivery.shippingMethod.appShippingMethod.shippingMethodId` ,
`order_delivery.shippingMethod.appShippingMethod` . `original_media_id` as `order_delivery.shippingMethod.appShippingMethod.originalMediaId` ,
`order_delivery.shippingMethod.appShippingMethod` . `created_at` as `order_delivery.shippingMethod.appShippingMethod.createdAt` ,
`order_delivery.shippingMethod.appShippingMethod` . `updated_at` as `order_delivery.shippingMethod.appShippingMethod.updatedAt` ,
`order_delivery.shippingMethod` . `technical_name` as `order_delivery.shippingMethod.technicalName` ,
`order_delivery.shippingMethod` . `created_at` as `order_delivery.shippingMethod.createdAt` ,
`order_delivery.shippingMethod` . `updated_at` as `order_delivery.shippingMethod.updatedAt` ,
`order_delivery.shippingMethod.translation.name` ,
`order_delivery.shippingMethod.translation.name` as `order_delivery.shippingMethod.name` ,
`order_delivery.shippingMethod.translation.description` ,
`order_delivery.shippingMethod.translation.description` as `order_delivery.shippingMethod.description` ,
`order_delivery.shippingMethod.translation.trackingUrl` ,
`order_delivery.shippingMethod.translation.trackingUrl` as `order_delivery.shippingMethod.trackingUrl` ,
`order_delivery.shippingMethod.translation.customFields` ,
`order_delivery.shippingMethod.translation.customFields` as `order_delivery.shippingMethod.customFields`
FROM
`order_delivery`
LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery` . `state_id` = `order_delivery.stateMachineState` . `id`
LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery` . `shipping_order_address_id` = `order_delivery.shippingOrderAddress` . `id`
AND `order_delivery` . `shipping_order_address_version_id` = `order_delivery.shippingOrderAddress` . `version_id`
LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery` . `shipping_method_id` = `order_delivery.shippingMethod` . `id`
LEFT JOIN (
SELECT
`order_delivery.stateMachineState.translation` . `state_machine_state_id` ,
`order_delivery.stateMachineState.translation` . `name` as `order_delivery.stateMachineState.translation.name` ,
`order_delivery.stateMachineState.translation` . `custom_fields` as `order_delivery.stateMachineState.translation.customFields`
FROM
`state_machine_state_translation` `order_delivery.stateMachineState.translation`
WHERE
`order_delivery.stateMachineState.translation` . `language_id` = ?
) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_delivery.stateMachineState` . `id`
LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id`
LEFT JOIN `app_shipping_method` `order_delivery.shippingMethod.appShippingMethod` ON `order_delivery.shippingMethod` . `id` = `order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id`
LEFT JOIN (
SELECT
`order_delivery.shippingMethod.translation` . `shipping_method_id` ,
`order_delivery.shippingMethod.translation` . `name` as `order_delivery.shippingMethod.translation.name` ,
`order_delivery.shippingMethod.translation` . `custom_fields` as `order_delivery.shippingMethod.translation.customFields` ,
`order_delivery.shippingMethod.translation` . `description` as `order_delivery.shippingMethod.translation.description` ,
`order_delivery.shippingMethod.translation` . `tracking_url` as `order_delivery.shippingMethod.translation.trackingUrl`
FROM
`shipping_method_translation` `order_delivery.shippingMethod.translation`
WHERE
`order_delivery.shippingMethod.translation` . `language_id` = ?
) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation` . `shipping_method_id` = `order_delivery.shippingMethod` . `id`
LEFT JOIN (
SELECT
`order_delivery.shippingMethod.deliveryTime.translation` . `delivery_time_id` ,
`order_delivery.shippingMethod.deliveryTime.translation` . `name` as `order_delivery.shippingMethod.deliveryTime.translation.name` ,
`order_delivery.shippingMethod.deliveryTime.translation` . `custom_fields` as `order_delivery.shippingMethod.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation`
WHERE
`order_delivery.shippingMethod.deliveryTime.translation` . `language_id` = ?
) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id`
WHERE
(
`order_delivery` . `version_id` = ?
)
AND (
(
`order_delivery` . `order_id` IN (
? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? , ? ,
? , ? , ? , ? , ? , ? , ? , ? , ?
)
)
)
ORDER BY
IF (
JSON_TYPE (
JSON_EXTRACT (
`order_delivery` . `shipping_costs` ,
'$.unitPrice'
)
) ! = "NULL" ,
JSON_UNQUOTE (
JSON_EXTRACT (
`order_delivery` . `shipping_costs` ,
'$.unitPrice'
)
) + 0.0 ,
NULL
) DESC
Copy
SELECT `order_delivery` . `id` as `order_delivery.id` , `order_delivery` . `version_id` as `order_delivery.versionId` , `order_delivery` . `order_id` as `order_delivery.orderId` , `order_delivery` . `order_version_id` as `order_delivery.orderVersionId` , `order_delivery` . `shipping_order_address_id` as `order_delivery.shippingOrderAddressId` , `order_delivery` . `shipping_order_address_version_id` as `order_delivery.shippingOrderAddressVersionId` , `order_delivery` . `shipping_method_id` as `order_delivery.shippingMethodId` , `order_delivery` . `state_id` as `order_delivery.stateId` , `order_delivery` . `tracking_codes` as `order_delivery.trackingCodes` , `order_delivery` . `shipping_date_earliest` as `order_delivery.shippingDateEarliest` , `order_delivery` . `shipping_date_latest` as `order_delivery.shippingDateLatest` , `order_delivery` . `shipping_costs` as `order_delivery.shippingCosts` , `order_delivery` . `custom_fields` as `order_delivery.customFields` , `order_delivery` . `created_at` as `order_delivery.createdAt` , `order_delivery` . `updated_at` as `order_delivery.updatedAt` , `order_delivery.stateMachineState` . `id` as `order_delivery.stateMachineState.id` , `order_delivery.stateMachineState` . `technical_name` as `order_delivery.stateMachineState.technicalName` , `order_delivery.stateMachineState` . `state_machine_id` as `order_delivery.stateMachineState.stateMachineId` , `order_delivery.stateMachineState` . `created_at` as `order_delivery.stateMachineState.createdAt` , `order_delivery.stateMachineState` . `updated_at` as `order_delivery.stateMachineState.updatedAt` , `order_delivery.stateMachineState.translation.name` , `order_delivery.stateMachineState.translation.name` as `order_delivery.stateMachineState.name` , `order_delivery.stateMachineState.translation.customFields` , `order_delivery.stateMachineState.translation.customFields` as `order_delivery.stateMachineState.customFields` , `order_delivery.shippingOrderAddress` . `id` as `order_delivery.shippingOrderAddress.id` , `order_delivery.shippingOrderAddress` . `version_id` as `order_delivery.shippingOrderAddress.versionId` , `order_delivery.shippingOrderAddress` . `country_id` as `order_delivery.shippingOrderAddress.countryId` , `order_delivery.shippingOrderAddress` . `country_state_id` as `order_delivery.shippingOrderAddress.countryStateId` , `order_delivery.shippingOrderAddress` . `order_id` as `order_delivery.shippingOrderAddress.orderId` , `order_delivery.shippingOrderAddress` . `order_version_id` as `order_delivery.shippingOrderAddress.orderVersionId` , `order_delivery.shippingOrderAddress` . `salutation_id` as `order_delivery.shippingOrderAddress.salutationId` , `order_delivery.shippingOrderAddress` . `first_name` as `order_delivery.shippingOrderAddress.firstName` , `order_delivery.shippingOrderAddress` . `last_name` as `order_delivery.shippingOrderAddress.lastName` , `order_delivery.shippingOrderAddress` . `street` as `order_delivery.shippingOrderAddress.street` , `order_delivery.shippingOrderAddress` . `zipcode` as `order_delivery.shippingOrderAddress.zipcode` , `order_delivery.shippingOrderAddress` . `city` as `order_delivery.shippingOrderAddress.city` , `order_delivery.shippingOrderAddress` . `company` as `order_delivery.shippingOrderAddress.company` , `order_delivery.shippingOrderAddress` . `department` as `order_delivery.shippingOrderAddress.department` , `order_delivery.shippingOrderAddress` . `title` as `order_delivery.shippingOrderAddress.title` , `order_delivery.shippingOrderAddress` . `vat_id` as `order_delivery.shippingOrderAddress.vatId` , `order_delivery.shippingOrderAddress` . `phone_number` as `order_delivery.shippingOrderAddress.phoneNumber` , `order_delivery.shippingOrderAddress` . `additional_address_line1` as `order_delivery.shippingOrderAddress.additionalAddressLine1` , `order_delivery.shippingOrderAddress` . `additional_address_line2` as `order_delivery.shippingOrderAddress.additionalAddressLine2` , `order_delivery.shippingOrderAddress` . `custom_fields` as `order_delivery.shippingOrderAddress.customFields` , `order_delivery.shippingOrderAddress` . `created_at` as `order_delivery.shippingOrderAddress.createdAt` , `order_delivery.shippingOrderAddress` . `updated_at` as `order_delivery.shippingOrderAddress.updatedAt` , `order_delivery.shippingMethod` . `id` as `order_delivery.shippingMethod.id` , `order_delivery.shippingMethod` . `active` as `order_delivery.shippingMethod.active` , `order_delivery.shippingMethod` . `position` as `order_delivery.shippingMethod.position` , `order_delivery.shippingMethod` . `availability_rule_id` as `order_delivery.shippingMethod.availabilityRuleId` , `order_delivery.shippingMethod` . `media_id` as `order_delivery.shippingMethod.mediaId` , `order_delivery.shippingMethod` . `delivery_time_id` as `order_delivery.shippingMethod.deliveryTimeId` , `order_delivery.shippingMethod` . `tax_type` as `order_delivery.shippingMethod.taxType` , `order_delivery.shippingMethod` . `tax_id` as `order_delivery.shippingMethod.taxId` , `order_delivery.shippingMethod.deliveryTime` . `id` as `order_delivery.shippingMethod.deliveryTime.id` , `order_delivery.shippingMethod.deliveryTime` . `min` as `order_delivery.shippingMethod.deliveryTime.min` , `order_delivery.shippingMethod.deliveryTime` . `max` as `order_delivery.shippingMethod.deliveryTime.max` , `order_delivery.shippingMethod.deliveryTime` . `unit` as `order_delivery.shippingMethod.deliveryTime.unit` , `order_delivery.shippingMethod.deliveryTime` . `created_at` as `order_delivery.shippingMethod.deliveryTime.createdAt` , `order_delivery.shippingMethod.deliveryTime` . `updated_at` as `order_delivery.shippingMethod.deliveryTime.updatedAt` , `order_delivery.shippingMethod.deliveryTime.translation.name` , `order_delivery.shippingMethod.deliveryTime.translation.name` as `order_delivery.shippingMethod.deliveryTime.name` , `order_delivery.shippingMethod.deliveryTime.translation.customFields` , `order_delivery.shippingMethod.deliveryTime.translation.customFields` as `order_delivery.shippingMethod.deliveryTime.customFields` , `order_delivery.shippingMethod.appShippingMethod` . `id` as `order_delivery.shippingMethod.appShippingMethod.id` , `order_delivery.shippingMethod.appShippingMethod` . `app_name` as `order_delivery.shippingMethod.appShippingMethod.appName` , `order_delivery.shippingMethod.appShippingMethod` . `identifier` as `order_delivery.shippingMethod.appShippingMethod.identifier` , `order_delivery.shippingMethod.appShippingMethod` . `app_id` as `order_delivery.shippingMethod.appShippingMethod.appId` , `order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id` as `order_delivery.shippingMethod.appShippingMethod.shippingMethodId` , `order_delivery.shippingMethod.appShippingMethod` . `original_media_id` as `order_delivery.shippingMethod.appShippingMethod.originalMediaId` , `order_delivery.shippingMethod.appShippingMethod` . `created_at` as `order_delivery.shippingMethod.appShippingMethod.createdAt` , `order_delivery.shippingMethod.appShippingMethod` . `updated_at` as `order_delivery.shippingMethod.appShippingMethod.updatedAt` , `order_delivery.shippingMethod` . `technical_name` as `order_delivery.shippingMethod.technicalName` , `order_delivery.shippingMethod` . `created_at` as `order_delivery.shippingMethod.createdAt` , `order_delivery.shippingMethod` . `updated_at` as `order_delivery.shippingMethod.updatedAt` , `order_delivery.shippingMethod.translation.name` , `order_delivery.shippingMethod.translation.name` as `order_delivery.shippingMethod.name` , `order_delivery.shippingMethod.translation.description` , `order_delivery.shippingMethod.translation.description` as `order_delivery.shippingMethod.description` , `order_delivery.shippingMethod.translation.trackingUrl` , `order_delivery.shippingMethod.translation.trackingUrl` as `order_delivery.shippingMethod.trackingUrl` , `order_delivery.shippingMethod.translation.customFields` , `order_delivery.shippingMethod.translation.customFields` as `order_delivery.shippingMethod.customFields` FROM `order_delivery` LEFT JOIN `state_machine_state` `order_delivery.stateMachineState` ON `order_delivery` . `state_id` = `order_delivery.stateMachineState` . `id` LEFT JOIN `order_address` `order_delivery.shippingOrderAddress` ON `order_delivery` . `shipping_order_address_id` = `order_delivery.shippingOrderAddress` . `id` AND `order_delivery` . `shipping_order_address_version_id` = `order_delivery.shippingOrderAddress` . `version_id` LEFT JOIN `shipping_method` `order_delivery.shippingMethod` ON `order_delivery` . `shipping_method_id` = `order_delivery.shippingMethod` . `id` LEFT JOIN (SELECT `order_delivery.stateMachineState.translation` . `state_machine_state_id` , `order_delivery.stateMachineState.translation` . `name` as `order_delivery.stateMachineState.translation.name` , `order_delivery.stateMachineState.translation` . `custom_fields` as `order_delivery.stateMachineState.translation.customFields` FROM `state_machine_state_translation` `order_delivery.stateMachineState.translation` WHERE `order_delivery.stateMachineState.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order_delivery.stateMachineState.state_machine_state_translation` ON `order_delivery.stateMachineState.state_machine_state_translation` . `state_machine_state_id` = `order_delivery.stateMachineState` . `id` LEFT JOIN `delivery_time` `order_delivery.shippingMethod.deliveryTime` ON `order_delivery.shippingMethod` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id` LEFT JOIN `app_shipping_method` `order_delivery.shippingMethod.appShippingMethod` ON `order_delivery.shippingMethod` . `id` = `order_delivery.shippingMethod.appShippingMethod` . `shipping_method_id` LEFT JOIN (SELECT `order_delivery.shippingMethod.translation` . `shipping_method_id` , `order_delivery.shippingMethod.translation` . `name` as `order_delivery.shippingMethod.translation.name` , `order_delivery.shippingMethod.translation` . `custom_fields` as `order_delivery.shippingMethod.translation.customFields` , `order_delivery.shippingMethod.translation` . `description` as `order_delivery.shippingMethod.translation.description` , `order_delivery.shippingMethod.translation` . `tracking_url` as `order_delivery.shippingMethod.translation.trackingUrl` FROM `shipping_method_translation` `order_delivery.shippingMethod.translation` WHERE `order_delivery.shippingMethod.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order_delivery.shippingMethod.shipping_method_translation` ON `order_delivery.shippingMethod.shipping_method_translation` . `shipping_method_id` = `order_delivery.shippingMethod` . `id` LEFT JOIN (SELECT `order_delivery.shippingMethod.deliveryTime.translation` . `delivery_time_id` , `order_delivery.shippingMethod.deliveryTime.translation` . `name` as `order_delivery.shippingMethod.deliveryTime.translation.name` , `order_delivery.shippingMethod.deliveryTime.translation` . `custom_fields` as `order_delivery.shippingMethod.deliveryTime.translation.customFields` FROM `delivery_time_translation` `order_delivery.shippingMethod.deliveryTime.translation` WHERE `order_delivery.shippingMethod.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` ON `order_delivery.shippingMethod.deliveryTime.delivery_time_translation` . `delivery_time_id` = `order_delivery.shippingMethod.deliveryTime` . `id` WHERE (`order_delivery` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((`order_delivery` . `order_id` IN (0x019482E72C6272B2A8EE0BAADC16BFA7 , 0x019482F821C37151A68506B96CFB828F , 0x0194830AE08C703B8FE93AA540D975D3 , 0x01948319670370CE9166E6EDD6AC565D , 0x01948328F00E7285AE0BA1AAC098A814 , 0x0194832FECFE707AACCDD2F6B3CD86C0 , 0x019483367AB671D48A94BA04BE66DC84 , 0x0194834A559D7342BD5889D4C86D50E9 , 0x01948388D72F7355B809F6E82F0BF5FC , 0x019483E697E9708D8420481535494571 , 0x019483ED44B170CEB2B10F1D4C512987 , 0x01948410C226735EB67B6F5AF9A6493B , 0x0194842E123672919ADA7FBD2469BAA1 , 0x0194844EC73D7157B68F1870E95FB2B2 , 0x019484C3B39F7069A845E8860B06C133 , 0x01948746EFAA7052BFAC4FA2B7B18EA5 , 0x01948822E18F73BD847E5048B6D55DC9 , 0x0194882FCFBC712BBD139CB7EAE89D56 , 0x01948833A294721595D5B1CEAB2C158B , 0x01948840427570D28186EA0009B0C869 , 0x01948843AB5970D98041C7493AF64D7E , 0x019488584F31700D91D9F760488CBA1C , 0x01948864F2AD7126AA5F451255E14502 , 0x0194886A313072F1B803511F0C65748F , 0x01948876ECF67066AE2A2A4164C4E0F9 ))) ORDER BY IF (JSON_TYPE (JSON_EXTRACT (`order_delivery` . `shipping_costs` , '$.unitPrice' )) ! = "NULL" , JSON_UNQUOTE (JSON_EXTRACT (`order_delivery` . `shipping_costs` , '$.unitPrice' )) + 0.0 , NULL ) DESC ;
Copy