6.57 ms (8.05%)
1
SELECT MIN (IFNULL (COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )), COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )))) as `price.min` , MAX (IFNULL (COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )), COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )))) as `price.max` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product` . `id` = `product.categoriesRo.mapping` . `product_id` AND `product` . `version_id` = `product.categoriesRo.mapping` . `product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping` . `category_id` = `product.categoriesRo` . `id` AND `product.categoriesRo` . `version_id` = `product.categoriesRo.mapping` . `category_version_id` WHERE (`product` . `version_id` = ? ) AND ((((`product.visibilities` . `visibility` > = ? ) AND `product.visibilities` . `sales_channel_id` = ? AND IFNULL (`product` . `active` , `product.parent` . `active` ) = ? ) AND `product.categoriesRo` . `id` = ? AND NOT (`product` . `display_group` < = > ? )))
Parameters :
[
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
30
b"\x01 ’µ8öEr²ªÍW«a$LH "
true
b"┤¸ªÒÅtOq╣s8L╣\t Ú┼ "
null
]
SELECT
MIN (
IFNULL (
COALESCE (
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
)
),
COALESCE (
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
)
)
)
) as `price.min` ,
MAX (
IFNULL (
COALESCE (
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product` . `cheapest_price_accessor` ,
"$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
)
),
COALESCE (
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
),
(
ROUND (
(
ROUND (
CAST (
(
JSON_UNQUOTE (
JSON_EXTRACT (
`product.parent` . `cheapest_price_accessor` ,
"$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross"
)
) * 1
) as DECIMAL (30 , 20 )
),
2
)
) * 100 ,
0
) / 100
)
)
)
) as `price.max`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id`
AND `product` . version_id = `product.visibilities` . product_version_id
LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product` . `id` = `product.categoriesRo.mapping` . `product_id`
AND `product` . `version_id` = `product.categoriesRo.mapping` . `product_version_id`
LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping` . `category_id` = `product.categoriesRo` . `id`
AND `product.categoriesRo` . `version_id` = `product.categoriesRo.mapping` . `category_version_id`
WHERE
(`product` . `version_id` = ? )
AND (
(
(
(
`product.visibilities` . `visibility` > = ?
)
AND `product.visibilities` . `sales_channel_id` = ?
AND IFNULL (
`product` . `active` , `product.parent` . `active`
) = ?
)
AND `product.categoriesRo` . `id` = ?
AND NOT (`product` . `display_group` < = > ? )
)
)
Copy
SELECT MIN (IFNULL (COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )), COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )))) as `price.min` , MAX (IFNULL (COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )), COALESCE ((ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule063b1ad4f7b2488a976ab21f670f2bbe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule07fca9bbe46543d3ac345e41c3b38eff.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule160b35e830df4e2bb11608086b3f5100.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule1a70ce62d6884f76a08b9112ffa46829.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule237bde03a96740209c93a552bef26a15.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule275b92e8b48d4e048bd0b1d6acf59fca.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule27a96dd1f40d40dd9f092ff7910b0be1.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule2d5866c8047b4ffcaab41eeb21f54cbc.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule37a25eb8b9e44325a980aab691d89e12.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule3d03f77a584c4e3fa6537e772a777c8c.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule419a15f76e974efc82f246185aebb3c4.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule4d160d3746f2414aa35c6b48b10a74b9.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule625c13521246471da7e563ec37b93810.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule669cb8be3bc04b8b8e71ab54c1dede3d.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule767c3c153d2e44eaa1ca4af8353b9f64.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule77ae533b2f544526aa8a6783329004d6.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule808955860a1e4048847024479b23320f.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule86f1bce1661248fe84d4d50b505f2d46.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95d30dbb9e8846f5b09e4dd7b3df19a8.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule95e9ddd8486240a38ec88be6ac971b2b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule96ec65f825b545bf97ef208b6c09e42b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleaa2e1a46df1a448a90941a9fa32b5a9e.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleab2447b71ea74a4683872c9d5b308943.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleb7cc3c4c85fc4b50b20e67aa917b30ae.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulecc7ab9a9d041402591a1eb7747b4b484.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda1cbca5772a4f97b6a1d38a6666d14b.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruleda49fe7802574471ae3eafff3b10b4fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulef3a5b8c34f484600a0b07b63c5463df0.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b538687e707bb6baea2c80710d61.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53868b67048a8abdb26e744d0c2.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule0192b53876b170338f0f567f690419fe.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rule019320fdbd2f73cda3637e30b0093866.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.rulee44e6782c64247b796b891cf25ae38f7.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 ), (ROUND ((ROUND (CAST ((JSON_UNQUOTE (JSON_EXTRACT (`product.parent` . `cheapest_price_accessor` , "$.ruledefault.currencyb7d2554b0ce847cd82f3ac9bd1c0dfca.gross" )) * 1 ) as DECIMAL (30 , 20 )), 2 )) * 100 , 0 ) / 100 )))) as `price.max` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `product_visibility` `product.visibilities` ON `product` . `visibilities` = `product.visibilities` . `product_id` AND `product` . version_id = `product.visibilities` . product_version_id LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product` . `id` = `product.categoriesRo.mapping` . `product_id` AND `product` . `version_id` = `product.categoriesRo.mapping` . `product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping` . `category_id` = `product.categoriesRo` . `id` AND `product.categoriesRo` . `version_id` = `product.categoriesRo.mapping` . `category_version_id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND ((((`product.visibilities` . `visibility` > = 30 ) AND `product.visibilities` . `sales_channel_id` = 0x0192B538F64572B2AACD57AB61244C48 AND IFNULL (`product` . `active` , `product.parent` . `active` ) = 1 ) AND `product.categoriesRo` . `id` = 0xB4F7A6E38F744F71B973384CB909E9C5 AND NOT (`product` . `display_group` < = > NULL )));
Copy
3.90 ms (4.77%)
1
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` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `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.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.manufacturer` . `id` as `product.manufacturer.id` , `product.manufacturer` . `version_id` as `product.manufacturer.versionId` , `product.manufacturer` . `media_id` as `product.manufacturer.mediaId` , `product.manufacturer` . `link` as `product.manufacturer.link` , `product.manufacturer` . `created_at` as `product.manufacturer.createdAt` , `product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` , `product.manufacturer.translation.name` , `product.manufacturer.translation.name` as `product.manufacturer.name` , `product.manufacturer.translation.description` , `product.manufacturer.translation.description` as `product.manufacturer.description` , `product.manufacturer.translation.customFields` , `product.manufacturer.translation.customFields` as `product.manufacturer.customFields` , (SELECT GROUP_CONCAT (HEX (`product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping` . `product_id` = `product` . `id` ) as `product.options.id_mapping` , (SELECT GROUP_CONCAT (HEX (`product.properties.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping` . `product_id` = `product` . `properties` ) as `product.properties.id_mapping` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id` AND IFNULL (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) = `product.manufacturer` . `version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` 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_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` 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 (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = ? ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.manufacturer.translation` . `product_manufacturer_id` , `product.manufacturer.translation` . `product_manufacturer_version_id` , `product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` , `product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` , `product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields` FROM `product_manufacturer_translation` `product.manufacturer.translation` WHERE `product.manufacturer.translation` . `language_id` = ? ) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id` AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = ? ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = ? ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = ? ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = ? ) AND (`product` . `id` IN (? , ? ))
Parameters :
[
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"/»_ââšMpªXTÎ|ãâ\v "
b"\x0F ©\x1C ãéjK¾KÙÎu,4% "
b"L.Ò°¤%C•¶ë³òðî\x15 o "
b""\x01 ‡\x04\x08 "D\x7F –º\x18\x1E üND÷ "
]
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` ,
COALESCE (
`product` . `product_manufacturer_id` ,
`product.parent` . `product_manufacturer_id`
) as `product.manufacturerId` ,
COALESCE (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) as `product.productManufacturerVersionId` ,
COALESCE (
`product` . `unit_id` , `product.parent` . `unit_id`
) as `product.unitId` ,
COALESCE (
`product` . `tax_id` , `product.parent` . `tax_id`
) as `product.taxId` ,
COALESCE (
`product` . `product_media_id` , `product.parent` . `product_media_id`
) as `product.coverId` ,
COALESCE (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) as `product.productMediaVersionId` ,
COALESCE (
`product` . `delivery_time_id` , `product.parent` . `delivery_time_id`
) as `product.deliveryTimeId` ,
COALESCE (
`product` . `product_feature_set_id` ,
`product.parent` . `product_feature_set_id`
) as `product.featureSetId` ,
COALESCE (
`product` . `canonical_product_id` ,
`product.parent` . `canonical_product_id`
) as `product.canonicalProductId` ,
COALESCE (
`product` . `canonical_product_version_id` ,
`product.parent` . `canonical_product_version_id`
) as `product.canonicalProductVersionId` ,
COALESCE (
`product` . `cms_page_id` , `product.parent` . `cms_page_id`
) as `product.cmsPageId` ,
COALESCE (
`product` . `cms_page_version_id` ,
`product.parent` . `cms_page_version_id`
) as `product.cmsPageVersionId` ,
`product.parent` . `price` as `product.price.inherited` ,
COALESCE (
`product` . `price` , `product.parent` . `price`
) as `product.price` ,
`product` . `product_number` as `product.productNumber` ,
COALESCE (
`product` . `restock_time` , `product.parent` . `restock_time`
) as `product.restockTime` ,
`product` . `auto_increment` as `product.autoIncrement` ,
COALESCE (
`product` . `active` , `product.parent` . `active`
) as `product.active` ,
`product` . `available` as `product.available` ,
COALESCE (
`product` . `is_closeout` , `product.parent` . `is_closeout`
) as `product.isCloseout` ,
`product` . `available_stock` as `product.availableStock` ,
`product` . `stock` as `product.stock` ,
`product` . `display_group` as `product.displayGroup` ,
`product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` ,
COALESCE (
`product` . `variant_listing_config` ,
`product.parent` . `variant_listing_config`
) as `product.variantListingConfig` ,
`product` . `variant_restrictions` as `product.variantRestrictions` ,
COALESCE (
`product` . `manufacturer_number` ,
`product.parent` . `manufacturer_number`
) as `product.manufacturerNumber` ,
COALESCE (
`product` . `ean` , `product.parent` . `ean`
) as `product.ean` ,
COALESCE (
`product` . `purchase_steps` , `product.parent` . `purchase_steps`
) as `product.purchaseSteps` ,
COALESCE (
`product` . `max_purchase` , `product.parent` . `max_purchase`
) as `product.maxPurchase` ,
COALESCE (
`product` . `min_purchase` , `product.parent` . `min_purchase`
) as `product.minPurchase` ,
COALESCE (
`product` . `purchase_unit` , `product.parent` . `purchase_unit`
) as `product.purchaseUnit` ,
COALESCE (
`product` . `reference_unit` , `product.parent` . `reference_unit`
) as `product.referenceUnit` ,
COALESCE (
`product` . `shipping_free` , `product.parent` . `shipping_free`
) as `product.shippingFree` ,
`product.parent` . `purchase_prices` as `product.purchasePrices.inherited` ,
COALESCE (
`product` . `purchase_prices` , `product.parent` . `purchase_prices`
) as `product.purchasePrices` ,
COALESCE (
`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller`
) as `product.markAsTopseller` ,
COALESCE (
`product` . `weight` , `product.parent` . `weight`
) as `product.weight` ,
COALESCE (
`product` . `width` , `product.parent` . `width`
) as `product.width` ,
COALESCE (
`product` . `height` , `product.parent` . `height`
) as `product.height` ,
COALESCE (
`product` . `length` , `product.parent` . `length`
) as `product.length` ,
COALESCE (
`product` . `release_date` , `product.parent` . `release_date`
) as `product.releaseDate` ,
COALESCE (
`product` . `rating_average` , `product.parent` . `rating_average`
) as `product.ratingAverage` ,
`product.parent` . `category_tree` as `product.categoryTree.inherited` ,
COALESCE (
`product` . `category_tree` , `product.parent` . `category_tree`
) as `product.categoryTree` ,
`product.parent` . `property_ids` as `product.propertyIds.inherited` ,
COALESCE (
`product` . `property_ids` , `product.parent` . `property_ids`
) as `product.propertyIds` ,
`product.parent` . `option_ids` as `product.optionIds.inherited` ,
COALESCE (
`product` . `option_ids` , `product.parent` . `option_ids`
) as `product.optionIds` ,
`product.parent` . `stream_ids` as `product.streamIds.inherited` ,
COALESCE (
`product` . `stream_ids` , `product.parent` . `stream_ids`
) as `product.streamIds` ,
`product.parent` . `tag_ids` as `product.tagIds.inherited` ,
COALESCE (
`product` . `tag_ids` , `product.parent` . `tag_ids`
) as `product.tagIds` ,
`product.parent` . `category_ids` as `product.categoryIds.inherited` ,
COALESCE (
`product` . `category_ids` , `product.parent` . `category_ids`
) as `product.categoryIds` ,
`product` . `child_count` as `product.childCount` ,
COALESCE (
`product` . `custom_field_set_selection_active` ,
`product.parent` . `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.parent` . `cheapest_price` as `product.cheapestPrice.inherited` ,
COALESCE (
`product` . `cheapest_price` , `product.parent` . `cheapest_price`
) as `product.cheapestPrice` ,
`product` . `created_at` as `product.createdAt` ,
`product` . `updated_at` as `product.updatedAt` ,
`product.manufacturer` . `id` as `product.manufacturer.id` ,
`product.manufacturer` . `version_id` as `product.manufacturer.versionId` ,
`product.manufacturer` . `media_id` as `product.manufacturer.mediaId` ,
`product.manufacturer` . `link` as `product.manufacturer.link` ,
`product.manufacturer` . `created_at` as `product.manufacturer.createdAt` ,
`product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` ,
`product.manufacturer.translation.name` ,
`product.manufacturer.translation.name` as `product.manufacturer.name` ,
`product.manufacturer.translation.description` ,
`product.manufacturer.translation.description` as `product.manufacturer.description` ,
`product.manufacturer.translation.customFields` ,
`product.manufacturer.translation.customFields` as `product.manufacturer.customFields` ,
(
SELECT
GROUP_CONCAT (
HEX (
`product.options.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_option` `product.options.mapping`
WHERE
`product.options.mapping` . `product_id` = `product` . `id`
) as `product.options.id_mapping` ,
(
SELECT
GROUP_CONCAT (
HEX (
`product.properties.mapping` . `property_group_option_id`
) SEPARATOR '||'
)
FROM
`product_property` `product.properties.mapping`
WHERE
`product.properties.mapping` . `product_id` = `product` . `properties`
) as `product.properties.id_mapping` ,
`product.unit` . `id` as `product.unit.id` ,
`product.unit` . `created_at` as `product.unit.createdAt` ,
`product.unit` . `updated_at` as `product.unit.updatedAt` ,
`product.unit.translation.shortCode` ,
`product.unit.translation.shortCode` as `product.unit.shortCode` ,
`product.unit.translation.name` ,
`product.unit.translation.name` as `product.unit.name` ,
`product.unit.translation.customFields` ,
`product.unit.translation.customFields` as `product.unit.customFields` ,
`product.deliveryTime` . `id` as `product.deliveryTime.id` ,
`product.deliveryTime` . `min` as `product.deliveryTime.min` ,
`product.deliveryTime` . `max` as `product.deliveryTime.max` ,
`product.deliveryTime` . `unit` as `product.deliveryTime.unit` ,
`product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` ,
`product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` ,
`product.deliveryTime.translation.name` ,
`product.deliveryTime.translation.name` as `product.deliveryTime.name` ,
`product.deliveryTime.translation.customFields` ,
`product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` ,
`product.cover` . `id` as `product.cover.id` ,
`product.cover` . `version_id` as `product.cover.versionId` ,
`product.cover` . `product_id` as `product.cover.productId` ,
`product.cover` . `product_version_id` as `product.cover.productVersionId` ,
`product.cover` . `media_id` as `product.cover.mediaId` ,
`product.cover` . `position` as `product.cover.position` ,
`product.cover.media` . `id` as `product.cover.media.id` ,
`product.cover.media` . `user_id` as `product.cover.media.userId` ,
`product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` ,
`product.cover.media` . `mime_type` as `product.cover.media.mimeType` ,
`product.cover.media` . `file_extension` as `product.cover.media.fileExtension` ,
`product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` ,
`product.cover.media` . `file_name` as `product.cover.media.fileName` ,
`product.cover.media` . `file_size` as `product.cover.media.fileSize` ,
`product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` ,
`product.cover.media` . `meta_data` as `product.cover.media.metaData` ,
`product.cover.media` . `config` as `product.cover.media.config` ,
`product.cover.media` . `path` as `product.cover.media.path` ,
`product.cover.media` . `private` as `product.cover.media.private` ,
`product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` ,
`product.cover.media` . `created_at` as `product.cover.media.createdAt` ,
`product.cover.media` . `updated_at` as `product.cover.media.updatedAt` ,
`product.cover.media.translation.title` ,
`product.cover.media.translation.title` as `product.cover.media.title` ,
`product.cover.media.translation.alt` ,
`product.cover.media.translation.alt` as `product.cover.media.alt` ,
`product.cover.media.translation.customFields` ,
`product.cover.media.translation.customFields` as `product.cover.media.customFields` ,
`product.cover` . `custom_fields` as `product.cover.customFields` ,
`product.cover` . `created_at` as `product.cover.createdAt` ,
`product.cover` . `updated_at` as `product.cover.updatedAt` ,
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription` ,
COALESCE (
`product.translation.metaDescription` ,
`product.parent.translation.metaDescription`
) as `product.metaDescription` ,
`product.translation.name` ,
`product.parent.translation.name` ,
COALESCE (
`product.translation.name` , `product.parent.translation.name`
) as `product.name` ,
`product.translation.keywords` ,
`product.parent.translation.keywords` ,
COALESCE (
`product.translation.keywords` ,
`product.parent.translation.keywords`
) as `product.keywords` ,
`product.translation.description` ,
`product.parent.translation.description` ,
COALESCE (
`product.translation.description` ,
`product.parent.translation.description`
) as `product.description` ,
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle` ,
COALESCE (
`product.translation.metaTitle` ,
`product.parent.translation.metaTitle`
) as `product.metaTitle` ,
`product.translation.packUnit` ,
`product.parent.translation.packUnit` ,
COALESCE (
`product.translation.packUnit` ,
`product.parent.translation.packUnit`
) as `product.packUnit` ,
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural` ,
COALESCE (
`product.translation.packUnitPlural` ,
`product.parent.translation.packUnitPlural`
) as `product.packUnitPlural` ,
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords` ,
COALESCE (
`product.translation.customSearchKeywords` ,
`product.parent.translation.customSearchKeywords`
) as `product.customSearchKeywords` ,
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig` ,
COALESCE (
`product.translation.slotConfig` ,
`product.parent.translation.slotConfig`
) as `product.slotConfig` ,
`product.translation.customFields` ,
`product.parent.translation.customFields` ,
COALESCE (
`product.translation.customFields` ,
`product.parent.translation.customFields`
) as `product.customFields`
FROM
`product`
LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id`
AND `product` . `parent_version_id` = `product.parent` . `version_id`
LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id`
LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id`
AND IFNULL (
`product` . `product_manufacturer_version_id` ,
`product.parent` . `product_manufacturer_version_id`
) = `product.manufacturer` . `version_id`
LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id`
LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id`
LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id`
AND IFNULL (
`product` . `product_media_version_id` ,
`product.parent` . `product_media_version_id`
) = `product.cover` . `version_id`
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_fields` as `product.translation.customFields` ,
`product.translation` . `slot_config` as `product.translation.slotConfig` ,
`product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords`
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 (
SELECT
`product.parent.translation` . `product_id` ,
`product.parent.translation` . `product_version_id` ,
`product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` ,
`product.parent.translation` . `name` as `product.parent.translation.name` ,
`product.parent.translation` . `keywords` as `product.parent.translation.keywords` ,
`product.parent.translation` . `description` as `product.parent.translation.description` ,
`product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` ,
`product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` ,
`product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` ,
`product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` ,
`product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` ,
`product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords`
FROM
`product_translation` `product.parent.translation`
WHERE
`product.parent.translation` . `language_id` = ?
) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id`
AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id`
LEFT JOIN (
SELECT
`product.manufacturer.translation` . `product_manufacturer_id` ,
`product.manufacturer.translation` . `product_manufacturer_version_id` ,
`product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` ,
`product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` ,
`product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields`
FROM
`product_manufacturer_translation` `product.manufacturer.translation`
WHERE
`product.manufacturer.translation` . `language_id` = ?
) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id`
AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id`
LEFT JOIN (
SELECT
`product.unit.translation` . `unit_id` ,
`product.unit.translation` . `short_code` as `product.unit.translation.shortCode` ,
`product.unit.translation` . `name` as `product.unit.translation.name` ,
`product.unit.translation` . `custom_fields` as `product.unit.translation.customFields`
FROM
`unit_translation` `product.unit.translation`
WHERE
`product.unit.translation` . `language_id` = ?
) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id`
LEFT JOIN (
SELECT
`product.deliveryTime.translation` . `delivery_time_id` ,
`product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` ,
`product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields`
FROM
`delivery_time_translation` `product.deliveryTime.translation`
WHERE
`product.deliveryTime.translation` . `language_id` = ?
) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id`
LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id`
LEFT JOIN (
SELECT
`product.cover.media.translation` . `media_id` ,
`product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` ,
`product.cover.media.translation` . `title` as `product.cover.media.translation.title` ,
`product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields`
FROM
`media_translation` `product.cover.media.translation`
WHERE
`product.cover.media.translation` . `language_id` = ?
) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id`
WHERE
(`product` . `version_id` = ? )
AND (
`product` . `id` IN (? , ? )
)
Copy
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` , COALESCE (`product` . `product_manufacturer_id` , `product.parent` . `product_manufacturer_id` ) as `product.manufacturerId` , COALESCE (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) as `product.productManufacturerVersionId` , COALESCE (`product` . `unit_id` , `product.parent` . `unit_id` ) as `product.unitId` , COALESCE (`product` . `tax_id` , `product.parent` . `tax_id` ) as `product.taxId` , COALESCE (`product` . `product_media_id` , `product.parent` . `product_media_id` ) as `product.coverId` , COALESCE (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) as `product.productMediaVersionId` , COALESCE (`product` . `delivery_time_id` , `product.parent` . `delivery_time_id` ) as `product.deliveryTimeId` , COALESCE (`product` . `product_feature_set_id` , `product.parent` . `product_feature_set_id` ) as `product.featureSetId` , COALESCE (`product` . `canonical_product_id` , `product.parent` . `canonical_product_id` ) as `product.canonicalProductId` , COALESCE (`product` . `canonical_product_version_id` , `product.parent` . `canonical_product_version_id` ) as `product.canonicalProductVersionId` , COALESCE (`product` . `cms_page_id` , `product.parent` . `cms_page_id` ) as `product.cmsPageId` , COALESCE (`product` . `cms_page_version_id` , `product.parent` . `cms_page_version_id` ) as `product.cmsPageVersionId` , `product.parent` . `price` as `product.price.inherited` , COALESCE (`product` . `price` , `product.parent` . `price` ) as `product.price` , `product` . `product_number` as `product.productNumber` , COALESCE (`product` . `restock_time` , `product.parent` . `restock_time` ) as `product.restockTime` , `product` . `auto_increment` as `product.autoIncrement` , COALESCE (`product` . `active` , `product.parent` . `active` ) as `product.active` , `product` . `available` as `product.available` , COALESCE (`product` . `is_closeout` , `product.parent` . `is_closeout` ) as `product.isCloseout` , `product` . `available_stock` as `product.availableStock` , `product` . `stock` as `product.stock` , `product` . `display_group` as `product.displayGroup` , `product.parent` . `variant_listing_config` as `product.variantListingConfig.inherited` , COALESCE (`product` . `variant_listing_config` , `product.parent` . `variant_listing_config` ) as `product.variantListingConfig` , `product` . `variant_restrictions` as `product.variantRestrictions` , COALESCE (`product` . `manufacturer_number` , `product.parent` . `manufacturer_number` ) as `product.manufacturerNumber` , COALESCE (`product` . `ean` , `product.parent` . `ean` ) as `product.ean` , COALESCE (`product` . `purchase_steps` , `product.parent` . `purchase_steps` ) as `product.purchaseSteps` , COALESCE (`product` . `max_purchase` , `product.parent` . `max_purchase` ) as `product.maxPurchase` , COALESCE (`product` . `min_purchase` , `product.parent` . `min_purchase` ) as `product.minPurchase` , COALESCE (`product` . `purchase_unit` , `product.parent` . `purchase_unit` ) as `product.purchaseUnit` , COALESCE (`product` . `reference_unit` , `product.parent` . `reference_unit` ) as `product.referenceUnit` , COALESCE (`product` . `shipping_free` , `product.parent` . `shipping_free` ) as `product.shippingFree` , `product.parent` . `purchase_prices` as `product.purchasePrices.inherited` , COALESCE (`product` . `purchase_prices` , `product.parent` . `purchase_prices` ) as `product.purchasePrices` , COALESCE (`product` . `mark_as_topseller` , `product.parent` . `mark_as_topseller` ) as `product.markAsTopseller` , COALESCE (`product` . `weight` , `product.parent` . `weight` ) as `product.weight` , COALESCE (`product` . `width` , `product.parent` . `width` ) as `product.width` , COALESCE (`product` . `height` , `product.parent` . `height` ) as `product.height` , COALESCE (`product` . `length` , `product.parent` . `length` ) as `product.length` , COALESCE (`product` . `release_date` , `product.parent` . `release_date` ) as `product.releaseDate` , COALESCE (`product` . `rating_average` , `product.parent` . `rating_average` ) as `product.ratingAverage` , `product.parent` . `category_tree` as `product.categoryTree.inherited` , COALESCE (`product` . `category_tree` , `product.parent` . `category_tree` ) as `product.categoryTree` , `product.parent` . `property_ids` as `product.propertyIds.inherited` , COALESCE (`product` . `property_ids` , `product.parent` . `property_ids` ) as `product.propertyIds` , `product.parent` . `option_ids` as `product.optionIds.inherited` , COALESCE (`product` . `option_ids` , `product.parent` . `option_ids` ) as `product.optionIds` , `product.parent` . `stream_ids` as `product.streamIds.inherited` , COALESCE (`product` . `stream_ids` , `product.parent` . `stream_ids` ) as `product.streamIds` , `product.parent` . `tag_ids` as `product.tagIds.inherited` , COALESCE (`product` . `tag_ids` , `product.parent` . `tag_ids` ) as `product.tagIds` , `product.parent` . `category_ids` as `product.categoryIds.inherited` , COALESCE (`product` . `category_ids` , `product.parent` . `category_ids` ) as `product.categoryIds` , `product` . `child_count` as `product.childCount` , COALESCE (`product` . `custom_field_set_selection_active` , `product.parent` . `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.parent` . `cheapest_price` as `product.cheapestPrice.inherited` , COALESCE (`product` . `cheapest_price` , `product.parent` . `cheapest_price` ) as `product.cheapestPrice` , `product` . `created_at` as `product.createdAt` , `product` . `updated_at` as `product.updatedAt` , `product.manufacturer` . `id` as `product.manufacturer.id` , `product.manufacturer` . `version_id` as `product.manufacturer.versionId` , `product.manufacturer` . `media_id` as `product.manufacturer.mediaId` , `product.manufacturer` . `link` as `product.manufacturer.link` , `product.manufacturer` . `created_at` as `product.manufacturer.createdAt` , `product.manufacturer` . `updated_at` as `product.manufacturer.updatedAt` , `product.manufacturer.translation.name` , `product.manufacturer.translation.name` as `product.manufacturer.name` , `product.manufacturer.translation.description` , `product.manufacturer.translation.description` as `product.manufacturer.description` , `product.manufacturer.translation.customFields` , `product.manufacturer.translation.customFields` as `product.manufacturer.customFields` , (SELECT GROUP_CONCAT (HEX (`product.options.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_option` `product.options.mapping`
WHERE `product.options.mapping` . `product_id` = `product` . `id` ) as `product.options.id_mapping` , (SELECT GROUP_CONCAT (HEX (`product.properties.mapping` . `property_group_option_id` ) SEPARATOR '||' )
FROM `product_property` `product.properties.mapping`
WHERE `product.properties.mapping` . `product_id` = `product` . `properties` ) as `product.properties.id_mapping` , `product.unit` . `id` as `product.unit.id` , `product.unit` . `created_at` as `product.unit.createdAt` , `product.unit` . `updated_at` as `product.unit.updatedAt` , `product.unit.translation.shortCode` , `product.unit.translation.shortCode` as `product.unit.shortCode` , `product.unit.translation.name` , `product.unit.translation.name` as `product.unit.name` , `product.unit.translation.customFields` , `product.unit.translation.customFields` as `product.unit.customFields` , `product.deliveryTime` . `id` as `product.deliveryTime.id` , `product.deliveryTime` . `min` as `product.deliveryTime.min` , `product.deliveryTime` . `max` as `product.deliveryTime.max` , `product.deliveryTime` . `unit` as `product.deliveryTime.unit` , `product.deliveryTime` . `created_at` as `product.deliveryTime.createdAt` , `product.deliveryTime` . `updated_at` as `product.deliveryTime.updatedAt` , `product.deliveryTime.translation.name` , `product.deliveryTime.translation.name` as `product.deliveryTime.name` , `product.deliveryTime.translation.customFields` , `product.deliveryTime.translation.customFields` as `product.deliveryTime.customFields` , `product.cover` . `id` as `product.cover.id` , `product.cover` . `version_id` as `product.cover.versionId` , `product.cover` . `product_id` as `product.cover.productId` , `product.cover` . `product_version_id` as `product.cover.productVersionId` , `product.cover` . `media_id` as `product.cover.mediaId` , `product.cover` . `position` as `product.cover.position` , `product.cover.media` . `id` as `product.cover.media.id` , `product.cover.media` . `user_id` as `product.cover.media.userId` , `product.cover.media` . `media_folder_id` as `product.cover.media.mediaFolderId` , `product.cover.media` . `mime_type` as `product.cover.media.mimeType` , `product.cover.media` . `file_extension` as `product.cover.media.fileExtension` , `product.cover.media` . `uploaded_at` as `product.cover.media.uploadedAt` , `product.cover.media` . `file_name` as `product.cover.media.fileName` , `product.cover.media` . `file_size` as `product.cover.media.fileSize` , `product.cover.media` . `media_type` as `product.cover.media.mediaTypeRaw` , `product.cover.media` . `meta_data` as `product.cover.media.metaData` , `product.cover.media` . `config` as `product.cover.media.config` , `product.cover.media` . `path` as `product.cover.media.path` , `product.cover.media` . `private` as `product.cover.media.private` , `product.cover.media` . `thumbnails_ro` as `product.cover.media.thumbnailsRo` , `product.cover.media` . `created_at` as `product.cover.media.createdAt` , `product.cover.media` . `updated_at` as `product.cover.media.updatedAt` , `product.cover.media.translation.title` , `product.cover.media.translation.title` as `product.cover.media.title` , `product.cover.media.translation.alt` , `product.cover.media.translation.alt` as `product.cover.media.alt` , `product.cover.media.translation.customFields` , `product.cover.media.translation.customFields` as `product.cover.media.customFields` , `product.cover` . `custom_fields` as `product.cover.customFields` , `product.cover` . `created_at` as `product.cover.createdAt` , `product.cover` . `updated_at` as `product.cover.updatedAt` , `product.translation.metaDescription` , `product.parent.translation.metaDescription` , COALESCE (`product.translation.metaDescription` , `product.parent.translation.metaDescription` ) as `product.metaDescription` , `product.translation.name` , `product.parent.translation.name` , COALESCE (`product.translation.name` , `product.parent.translation.name` ) as `product.name` , `product.translation.keywords` , `product.parent.translation.keywords` , COALESCE (`product.translation.keywords` , `product.parent.translation.keywords` ) as `product.keywords` , `product.translation.description` , `product.parent.translation.description` , COALESCE (`product.translation.description` , `product.parent.translation.description` ) as `product.description` , `product.translation.metaTitle` , `product.parent.translation.metaTitle` , COALESCE (`product.translation.metaTitle` , `product.parent.translation.metaTitle` ) as `product.metaTitle` , `product.translation.packUnit` , `product.parent.translation.packUnit` , COALESCE (`product.translation.packUnit` , `product.parent.translation.packUnit` ) as `product.packUnit` , `product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` , COALESCE (`product.translation.packUnitPlural` , `product.parent.translation.packUnitPlural` ) as `product.packUnitPlural` , `product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` , COALESCE (`product.translation.customSearchKeywords` , `product.parent.translation.customSearchKeywords` ) as `product.customSearchKeywords` , `product.translation.slotConfig` , `product.parent.translation.slotConfig` , COALESCE (`product.translation.slotConfig` , `product.parent.translation.slotConfig` ) as `product.slotConfig` , `product.translation.customFields` , `product.parent.translation.customFields` , COALESCE (`product.translation.customFields` , `product.parent.translation.customFields` ) as `product.customFields` FROM `product` LEFT JOIN `product` `product.parent` ON `product` . `parent_id` = `product.parent` . `id` AND `product` . `parent_version_id` = `product.parent` . `version_id` LEFT JOIN `tax` `product.tax` ON `product` . `tax` = `product.tax` . `id` LEFT JOIN `product_manufacturer` `product.manufacturer` ON `product` . `manufacturer` = `product.manufacturer` . `id` AND IFNULL (`product` . `product_manufacturer_version_id` , `product.parent` . `product_manufacturer_version_id` ) = `product.manufacturer` . `version_id` LEFT JOIN `unit` `product.unit` ON `product` . `unit` = `product.unit` . `id` LEFT JOIN `delivery_time` `product.deliveryTime` ON `product` . `deliveryTime` = `product.deliveryTime` . `id` LEFT JOIN `product_media` `product.cover` ON `product` . `cover` = `product.cover` . `id` AND IFNULL (`product` . `product_media_version_id` , `product.parent` . `product_media_version_id` ) = `product.cover` . `version_id` 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_fields` as `product.translation.customFields` , `product.translation` . `slot_config` as `product.translation.slotConfig` , `product.translation` . `custom_search_keywords` as `product.translation.customSearchKeywords` 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 (SELECT `product.parent.translation` . `product_id` , `product.parent.translation` . `product_version_id` , `product.parent.translation` . `meta_description` as `product.parent.translation.metaDescription` , `product.parent.translation` . `name` as `product.parent.translation.name` , `product.parent.translation` . `keywords` as `product.parent.translation.keywords` , `product.parent.translation` . `description` as `product.parent.translation.description` , `product.parent.translation` . `meta_title` as `product.parent.translation.metaTitle` , `product.parent.translation` . `pack_unit` as `product.parent.translation.packUnit` , `product.parent.translation` . `pack_unit_plural` as `product.parent.translation.packUnitPlural` , `product.parent.translation` . `custom_fields` as `product.parent.translation.customFields` , `product.parent.translation` . `slot_config` as `product.parent.translation.slotConfig` , `product.parent.translation` . `custom_search_keywords` as `product.parent.translation.customSearchKeywords` FROM `product_translation` `product.parent.translation` WHERE `product.parent.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.parent.product_translation` ON `product.parent.product_translation` . `product_id` = `product.parent` . `id` AND `product.parent.product_translation` . `product_version_id` = `product.parent` . `version_id` LEFT JOIN (SELECT `product.manufacturer.translation` . `product_manufacturer_id` , `product.manufacturer.translation` . `product_manufacturer_version_id` , `product.manufacturer.translation` . `name` as `product.manufacturer.translation.name` , `product.manufacturer.translation` . `description` as `product.manufacturer.translation.description` , `product.manufacturer.translation` . `custom_fields` as `product.manufacturer.translation.customFields` FROM `product_manufacturer_translation` `product.manufacturer.translation` WHERE `product.manufacturer.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.manufacturer.product_manufacturer_translation` ON `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_id` = `product.manufacturer` . `id` AND `product.manufacturer.product_manufacturer_translation` . `product_manufacturer_version_id` = `product.manufacturer` . `version_id` LEFT JOIN (SELECT `product.unit.translation` . `unit_id` , `product.unit.translation` . `short_code` as `product.unit.translation.shortCode` , `product.unit.translation` . `name` as `product.unit.translation.name` , `product.unit.translation` . `custom_fields` as `product.unit.translation.customFields` FROM `unit_translation` `product.unit.translation` WHERE `product.unit.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.unit.unit_translation` ON `product.unit.unit_translation` . `unit_id` = `product.unit` . `id` LEFT JOIN (SELECT `product.deliveryTime.translation` . `delivery_time_id` , `product.deliveryTime.translation` . `name` as `product.deliveryTime.translation.name` , `product.deliveryTime.translation` . `custom_fields` as `product.deliveryTime.translation.customFields` FROM `delivery_time_translation` `product.deliveryTime.translation` WHERE `product.deliveryTime.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.deliveryTime.delivery_time_translation` ON `product.deliveryTime.delivery_time_translation` . `delivery_time_id` = `product.deliveryTime` . `id` LEFT JOIN `media` `product.cover.media` ON `product.cover` . `media_id` = `product.cover.media` . `id` LEFT JOIN (SELECT `product.cover.media.translation` . `media_id` , `product.cover.media.translation` . `alt` as `product.cover.media.translation.alt` , `product.cover.media.translation` . `title` as `product.cover.media.translation.title` , `product.cover.media.translation` . `custom_fields` as `product.cover.media.translation.customFields` FROM `media_translation` `product.cover.media.translation` WHERE `product.cover.media.translation` . `language_id` = 0x2FBB5FE2E29A4D70AA5854CE7CE3E20B ) `product.cover.media.media_translation` ON `product.cover.media.media_translation` . `media_id` = `product.cover.media` . `id` WHERE (`product` . `version_id` = 0x0FA91CE3E96A4BC2BE4BD9CE752C3425 ) AND (`product` . `id` IN (0x4C2ED2B0A4254395B6EBB3F2F0EE156F , 0x220187040822447F96BA181EFC4E44F7 ));
Copy