10 |
1.20 ms |
SELECT `product`.`id` AS `product.id`, `product`.`version_id` AS `product.versionId`, `product`.`parent_id` AS `product.parentId`, `product`.`parent_version_id` AS `product.parentVersionId`, `product`.`product_manufacturer_id` AS `product.manufacturerId`, `product`.`product_manufacturer_version_id` AS `product.productManufacturerVersionId`, `product`.`unit_id` AS `product.unitId`, `product`.`tax_id` AS `product.taxId`, `product`.`product_media_id` AS `product.coverId`, `product`.`product_media_version_id` AS `product.productMediaVersionId`, `product`.`delivery_time_id` AS `product.deliveryTimeId`, `product`.`product_feature_set_id` AS `product.featureSetId`, `product`.`canonical_product_id` AS `product.canonicalProductId`, `product`.`cms_page_id` AS `product.cmsPageId`, `product`.`cms_page_version_id` AS `product.cmsPageVersionId`, `product`.`price` AS `product.price`, `product`.`product_number` AS `product.productNumber`, `product`.`restock_time` AS `product.restockTime`, `product`.`auto_increment` AS `product.autoIncrement`, `product`.`active` AS `product.active`, `product`.`available` AS `product.available`, `product`.`is_closeout` AS `product.isCloseout`, `product`.`display_group` AS `product.displayGroup`, `product`.`variant_listing_config` AS `product.variantListingConfig`, `product`.`variant_restrictions` AS `product.variantRestrictions`, `product`.`manufacturer_number` AS `product.manufacturerNumber`, `product`.`ean` AS `product.ean`, `product`.`purchase_steps` AS `product.purchaseSteps`, `product`.`max_purchase` AS `product.maxPurchase`, `product`.`min_purchase` AS `product.minPurchase`, `product`.`purchase_unit` AS `product.purchaseUnit`, `product`.`reference_unit` AS `product.referenceUnit`, `product`.`shipping_free` AS `product.shippingFree`, `product`.`purchase_prices` AS `product.purchasePrices`, `product`.`mark_as_topseller` AS `product.markAsTopseller`, `product`.`weight` AS `product.weight`, `product`.`width` AS `product.width`, `product`.`height` AS `product.height`, `product`.`length` AS `product.length`, `product`.`release_date` AS `product.releaseDate`, `product`.`rating_average` AS `product.ratingAverage`, `product`.`category_tree` AS `product.categoryTree`, `product`.`property_ids` AS `product.propertyIds`, `product`.`option_ids` AS `product.optionIds`, `product`.`stream_ids` AS `product.streamIds`, `product`.`tag_ids` AS `product.tagIds`, `product`.`category_ids` AS `product.categoryIds`, `product`.`child_count` AS `product.childCount`, `product`.`custom_field_set_selection_active` AS `product.customFieldSetSelectionActive`, `product`.`sales` AS `product.sales`, `product`.`states` AS `product.states`, `product.tax`.`id` AS `product.tax.id`, `product.tax`.`tax_rate` AS `product.tax.taxRate`, `product.tax`.`name` AS `product.tax.name`, `product.tax`.`position` AS `product.tax.position`, `product.tax`.`custom_fields` AS `product.tax.customFields`, `product.tax`.`created_at` AS `product.tax.createdAt`, `product.tax`.`updated_at` AS `product.tax.updatedAt`, `product`.`available_stock` AS `product.availableStock`, `product`.`stock` AS `product.stock`, `product`.`created_at` AS `product.createdAt`, `product`.`updated_at` AS `product.updatedAt`, `product.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.translation.metaDescription`) AS `product.metaDescription`, `product.translation.name`, COALESCE(`product.translation.name`,`product.translation.name`) AS `product.name`, `product.translation.keywords`, COALESCE(`product.translation.keywords`,`product.translation.keywords`) AS `product.keywords`, `product.translation.description`, COALESCE(`product.translation.description`,`product.translation.description`) AS `product.description`, `product.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.translation.metaTitle`) AS `product.metaTitle`, `product.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.translation.packUnit`) AS `product.packUnit`, `product.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.translation.packUnitPlural`) AS `product.packUnitPlural`, `product.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) AS `product.customSearchKeywords`, `product.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.translation.slotConfig`) AS `product.slotConfig`, `product.translation.customFields`, COALESCE(`product.translation.customFields`,`product.translation.customFields`) AS `product.customFields`, `product.translation.createdAt`, `product.translation.updatedAt`, `product.translation.productId`, `product.translation.languageId`, `product.translation.productVersionId` FROM `product` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description AS `product.translation.metaDescription`, `product.translation`.name AS `product.translation.name`, `product.translation`.keywords AS `product.translation.keywords`, `product.translation`.description AS `product.translation.description`, `product.translation`.meta_title AS `product.translation.metaTitle`, `product.translation`.pack_unit AS `product.translation.packUnit`, `product.translation`.pack_unit_plural AS `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords AS `product.translation.customSearchKeywords`, `product.translation`.slot_config AS `product.translation.slotConfig`, `product.translation`.custom_fields AS `product.translation.customFields`, `product.translation`.created_at AS `product.translation.createdAt`, `product.translation`.updated_at AS `product.translation.updatedAt`, `product.translation`.product_id AS `product.translation.productId`, `product.translation`.language_id AS `product.translation.languageId`, `product.translation`.product_version_id AS `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = ?) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax_id` = `product.tax`.`id` WHERE (`product`.`version_id` = ?) AND ((`product`.`product_number` = ?))
Parameters: [
b"/»_ââšMpªXTÎ|ãâ\v"
b"\x0F©\x1CãéjK¾KÙÎu,4%"
"GSE021344"
]
SELECT
`product`.`id` AS `product.id`,
`product`.`version_id` AS `product.versionId`,
`product`.`parent_id` AS `product.parentId`,
`product`.`parent_version_id` AS `product.parentVersionId`,
`product`.`product_manufacturer_id` AS `product.manufacturerId`,
`product`.`product_manufacturer_version_id` AS `product.productManufacturerVersionId`,
`product`.`unit_id` AS `product.unitId`,
`product`.`tax_id` AS `product.taxId`,
`product`.`product_media_id` AS `product.coverId`,
`product`.`product_media_version_id` AS `product.productMediaVersionId`,
`product`.`delivery_time_id` AS `product.deliveryTimeId`,
`product`.`product_feature_set_id` AS `product.featureSetId`,
`product`.`canonical_product_id` AS `product.canonicalProductId`,
`product`.`cms_page_id` AS `product.cmsPageId`,
`product`.`cms_page_version_id` AS `product.cmsPageVersionId`,
`product`.`price` AS `product.price`,
`product`.`product_number` AS `product.productNumber`,
`product`.`restock_time` AS `product.restockTime`,
`product`.`auto_increment` AS `product.autoIncrement`,
`product`.`active` AS `product.active`,
`product`.`available` AS `product.available`,
`product`.`is_closeout` AS `product.isCloseout`,
`product`.`display_group` AS `product.displayGroup`,
`product`.`variant_listing_config` AS `product.variantListingConfig`,
`product`.`variant_restrictions` AS `product.variantRestrictions`,
`product`.`manufacturer_number` AS `product.manufacturerNumber`,
`product`.`ean` AS `product.ean`,
`product`.`purchase_steps` AS `product.purchaseSteps`,
`product`.`max_purchase` AS `product.maxPurchase`,
`product`.`min_purchase` AS `product.minPurchase`,
`product`.`purchase_unit` AS `product.purchaseUnit`,
`product`.`reference_unit` AS `product.referenceUnit`,
`product`.`shipping_free` AS `product.shippingFree`,
`product`.`purchase_prices` AS `product.purchasePrices`,
`product`.`mark_as_topseller` AS `product.markAsTopseller`,
`product`.`weight` AS `product.weight`,
`product`.`width` AS `product.width`,
`product`.`height` AS `product.height`,
`product`.`length` AS `product.length`,
`product`.`release_date` AS `product.releaseDate`,
`product`.`rating_average` AS `product.ratingAverage`,
`product`.`category_tree` AS `product.categoryTree`,
`product`.`property_ids` AS `product.propertyIds`,
`product`.`option_ids` AS `product.optionIds`,
`product`.`stream_ids` AS `product.streamIds`,
`product`.`tag_ids` AS `product.tagIds`,
`product`.`category_ids` AS `product.categoryIds`,
`product`.`child_count` AS `product.childCount`,
`product`.`custom_field_set_selection_active` AS `product.customFieldSetSelectionActive`,
`product`.`sales` AS `product.sales`,
`product`.`states` AS `product.states`,
`product.tax`.`id` AS `product.tax.id`,
`product.tax`.`tax_rate` AS `product.tax.taxRate`,
`product.tax`.`name` AS `product.tax.name`,
`product.tax`.`position` AS `product.tax.position`,
`product.tax`.`custom_fields` AS `product.tax.customFields`,
`product.tax`.`created_at` AS `product.tax.createdAt`,
`product.tax`.`updated_at` AS `product.tax.updatedAt`,
`product`.`available_stock` AS `product.availableStock`,
`product`.`stock` AS `product.stock`,
`product`.`created_at` AS `product.createdAt`,
`product`.`updated_at` AS `product.updatedAt`,
`product.translation.metaDescription`,
COALESCE(
`product.translation.metaDescription`,
`product.translation.metaDescription`
) AS `product.metaDescription`,
`product.translation.name`,
COALESCE(
`product.translation.name`, `product.translation.name`
) AS `product.name`,
`product.translation.keywords`,
COALESCE(
`product.translation.keywords`,
`product.translation.keywords`
) AS `product.keywords`,
`product.translation.description`,
COALESCE(
`product.translation.description`,
`product.translation.description`
) AS `product.description`,
`product.translation.metaTitle`,
COALESCE(
`product.translation.metaTitle`,
`product.translation.metaTitle`
) AS `product.metaTitle`,
`product.translation.packUnit`,
COALESCE(
`product.translation.packUnit`,
`product.translation.packUnit`
) AS `product.packUnit`,
`product.translation.packUnitPlural`,
COALESCE(
`product.translation.packUnitPlural`,
`product.translation.packUnitPlural`
) AS `product.packUnitPlural`,
`product.translation.customSearchKeywords`,
COALESCE(
`product.translation.customSearchKeywords`,
`product.translation.customSearchKeywords`
) AS `product.customSearchKeywords`,
`product.translation.slotConfig`,
COALESCE(
`product.translation.slotConfig`,
`product.translation.slotConfig`
) AS `product.slotConfig`,
`product.translation.customFields`,
COALESCE(
`product.translation.customFields`,
`product.translation.customFields`
) AS `product.customFields`,
`product.translation.createdAt`,
`product.translation.updatedAt`,
`product.translation.productId`,
`product.translation.languageId`,
`product.translation.productVersionId`
FROM
`product`
LEFT JOIN (
SELECT
`product.translation`.product_id,
`product.translation`.product_version_id,
`product.translation`.meta_description AS `product.translation.metaDescription`,
`product.translation`.name AS `product.translation.name`,
`product.translation`.keywords AS `product.translation.keywords`,
`product.translation`.description AS `product.translation.description`,
`product.translation`.meta_title AS `product.translation.metaTitle`,
`product.translation`.pack_unit AS `product.translation.packUnit`,
`product.translation`.pack_unit_plural AS `product.translation.packUnitPlural`,
`product.translation`.custom_search_keywords AS `product.translation.customSearchKeywords`,
`product.translation`.slot_config AS `product.translation.slotConfig`,
`product.translation`.custom_fields AS `product.translation.customFields`,
`product.translation`.created_at AS `product.translation.createdAt`,
`product.translation`.updated_at AS `product.translation.updatedAt`,
`product.translation`.product_id AS `product.translation.productId`,
`product.translation`.language_id AS `product.translation.languageId`,
`product.translation`.product_version_id AS `product.translation.productVersionId`
FROM
`product_translation` `product.translation`
WHERE
`product.translation`.language_id = ?
) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id`
AND `product.product_translation`.product_version_id = `product`.version_id
LEFT JOIN `tax` `product.tax` ON `product`.`tax_id` = `product.tax`.`id`
WHERE
(`product`.`version_id` = ?)
AND (
(`product`.`product_number` = ?)
)
SELECT `product`.`id` AS `product.id`, `product`.`version_id` AS `product.versionId`, `product`.`parent_id` AS `product.parentId`, `product`.`parent_version_id` AS `product.parentVersionId`, `product`.`product_manufacturer_id` AS `product.manufacturerId`, `product`.`product_manufacturer_version_id` AS `product.productManufacturerVersionId`, `product`.`unit_id` AS `product.unitId`, `product`.`tax_id` AS `product.taxId`, `product`.`product_media_id` AS `product.coverId`, `product`.`product_media_version_id` AS `product.productMediaVersionId`, `product`.`delivery_time_id` AS `product.deliveryTimeId`, `product`.`product_feature_set_id` AS `product.featureSetId`, `product`.`canonical_product_id` AS `product.canonicalProductId`, `product`.`cms_page_id` AS `product.cmsPageId`, `product`.`cms_page_version_id` AS `product.cmsPageVersionId`, `product`.`price` AS `product.price`, `product`.`product_number` AS `product.productNumber`, `product`.`restock_time` AS `product.restockTime`, `product`.`auto_increment` AS `product.autoIncrement`, `product`.`active` AS `product.active`, `product`.`available` AS `product.available`, `product`.`is_closeout` AS `product.isCloseout`, `product`.`display_group` AS `product.displayGroup`, `product`.`variant_listing_config` AS `product.variantListingConfig`, `product`.`variant_restrictions` AS `product.variantRestrictions`, `product`.`manufacturer_number` AS `product.manufacturerNumber`, `product`.`ean` AS `product.ean`, `product`.`purchase_steps` AS `product.purchaseSteps`, `product`.`max_purchase` AS `product.maxPurchase`, `product`.`min_purchase` AS `product.minPurchase`, `product`.`purchase_unit` AS `product.purchaseUnit`, `product`.`reference_unit` AS `product.referenceUnit`, `product`.`shipping_free` AS `product.shippingFree`, `product`.`purchase_prices` AS `product.purchasePrices`, `product`.`mark_as_topseller` AS `product.markAsTopseller`, `product`.`weight` AS `product.weight`, `product`.`width` AS `product.width`, `product`.`height` AS `product.height`, `product`.`length` AS `product.length`, `product`.`release_date` AS `product.releaseDate`, `product`.`rating_average` AS `product.ratingAverage`, `product`.`category_tree` AS `product.categoryTree`, `product`.`property_ids` AS `product.propertyIds`, `product`.`option_ids` AS `product.optionIds`, `product`.`stream_ids` AS `product.streamIds`, `product`.`tag_ids` AS `product.tagIds`, `product`.`category_ids` AS `product.categoryIds`, `product`.`child_count` AS `product.childCount`, `product`.`custom_field_set_selection_active` AS `product.customFieldSetSelectionActive`, `product`.`sales` AS `product.sales`, `product`.`states` AS `product.states`, `product.tax`.`id` AS `product.tax.id`, `product.tax`.`tax_rate` AS `product.tax.taxRate`, `product.tax`.`name` AS `product.tax.name`, `product.tax`.`position` AS `product.tax.position`, `product.tax`.`custom_fields` AS `product.tax.customFields`, `product.tax`.`created_at` AS `product.tax.createdAt`, `product.tax`.`updated_at` AS `product.tax.updatedAt`, `product`.`available_stock` AS `product.availableStock`, `product`.`stock` AS `product.stock`, `product`.`created_at` AS `product.createdAt`, `product`.`updated_at` AS `product.updatedAt`, `product.translation.metaDescription`, COALESCE(`product.translation.metaDescription`,`product.translation.metaDescription`) AS `product.metaDescription`, `product.translation.name`, COALESCE(`product.translation.name`,`product.translation.name`) AS `product.name`, `product.translation.keywords`, COALESCE(`product.translation.keywords`,`product.translation.keywords`) AS `product.keywords`, `product.translation.description`, COALESCE(`product.translation.description`,`product.translation.description`) AS `product.description`, `product.translation.metaTitle`, COALESCE(`product.translation.metaTitle`,`product.translation.metaTitle`) AS `product.metaTitle`, `product.translation.packUnit`, COALESCE(`product.translation.packUnit`,`product.translation.packUnit`) AS `product.packUnit`, `product.translation.packUnitPlural`, COALESCE(`product.translation.packUnitPlural`,`product.translation.packUnitPlural`) AS `product.packUnitPlural`, `product.translation.customSearchKeywords`, COALESCE(`product.translation.customSearchKeywords`,`product.translation.customSearchKeywords`) AS `product.customSearchKeywords`, `product.translation.slotConfig`, COALESCE(`product.translation.slotConfig`,`product.translation.slotConfig`) AS `product.slotConfig`, `product.translation.customFields`, COALESCE(`product.translation.customFields`,`product.translation.customFields`) AS `product.customFields`, `product.translation.createdAt`, `product.translation.updatedAt`, `product.translation.productId`, `product.translation.languageId`, `product.translation.productVersionId` FROM `product` LEFT JOIN (SELECT `product.translation`.product_id, `product.translation`.product_version_id, `product.translation`.meta_description AS `product.translation.metaDescription`, `product.translation`.name AS `product.translation.name`, `product.translation`.keywords AS `product.translation.keywords`, `product.translation`.description AS `product.translation.description`, `product.translation`.meta_title AS `product.translation.metaTitle`, `product.translation`.pack_unit AS `product.translation.packUnit`, `product.translation`.pack_unit_plural AS `product.translation.packUnitPlural`, `product.translation`.custom_search_keywords AS `product.translation.customSearchKeywords`, `product.translation`.slot_config AS `product.translation.slotConfig`, `product.translation`.custom_fields AS `product.translation.customFields`, `product.translation`.created_at AS `product.translation.createdAt`, `product.translation`.updated_at AS `product.translation.updatedAt`, `product.translation`.product_id AS `product.translation.productId`, `product.translation`.language_id AS `product.translation.languageId`, `product.translation`.product_version_id AS `product.translation.productVersionId` FROM `product_translation` `product.translation` WHERE `product.translation`.language_id = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B) `product.product_translation` ON `product.product_translation`.`product_id` = `product`.`id` AND `product.product_translation`.product_version_id = `product`.version_id LEFT JOIN `tax` `product.tax` ON `product`.`tax_id` = `product.tax`.`id` WHERE (`product`.`version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425) AND ((`product`.`product_number` = 'GSE021344'));
|