Welcome, guest! Login / Register - Why register?
Psst.. new poll here.
[email protected] web/email now available. Want one? Go here.
Cannot use outlook/hotmail/live here to register as they blocking our mail servers. #microsoftdeez
Obey the Epel!

Paste

Pasted as SQL by nameless ( 15 years ago )
| 4018 | avr-cat-us3 | localhost | catalog_avr_3 | Query   |   67 | statistics | SELECT SQL_CALC_FOUND_ROWS products.product_id, descr1.product as product, products.tracking, products.feature_comparison, products.zero_price_action, products.product_type, products.tax_ids, products.weight, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, min_qty, max_qty, products.qty_step, products.list_qty_count, products.is_edp, avail_since, buy_in_advance, popularity.total as popularity, products.product_code, products.amount, MIN(prices.price) as price, products.status, products.list_price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, products_categories.position, cscart_seo_names.name as seo_name FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'EN'  LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id LEFT JOIN cscart_product_features_values ON cscart_product_features_values.product_id = products.product_id AND cscart_product_features_values.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_0 ON d_0.product_id = products.product_id AND d_0.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_1 ON d_1.product_id = products.product_id AND d_1.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_2 ON d_2.product_id = products.product_id AND d_2.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_3 ON d_3.product_id = products.product_id AND d_3.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_4 ON d_4.product_id = products.product_id AND d_4.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_5 ON d_5.product_id = products.product_id AND d_5.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_6 ON d_6.product_id = products.product_id AND d_6.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_0 ON var_val_0.product_id = products.product_id AND var_val_0.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_1 ON var_val_1.product_id = products.product_id AND var_val_1.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_2 ON var_val_2.product_id = products.product_id AND var_val_2.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_3 ON var_val_3.product_id = products.product_id AND var_val_3.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_4 ON var_val_4.product_id = products.product_id AND var_val_4.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_5 ON var_val_5.product_id = products.product_id AND var_val_5.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_6 ON var_val_6.product_id = products.product_id AND var_val_6.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_7 ON var_val_7.product_id = products.product_id AND var_val_7.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_8 ON var_val_8.product_id = products.product_id AND var_val_8.lang_code = 'EN' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN cscart_product_prices as prices_2 ON prices.product_id = prices_2.product_id AND prices_2.lower_limit = 1 AND prices_2.price < prices.price  AND prices_2.usergroup_id IN (0, 0, 1) INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND products.status IN ('A')  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = products.product_id AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'EN' WHERE 1  AND d_0.variant_id = 131 AND d_1.variant_id = 45 AND d_2.variant_id = 57 AND d_3.variant_id = 64 AND d_4.variant_id = 14 AND d_5.variant_id = 37 AND d_6.variant_id = 31 AND (var_val_0.value_int >= 1 AND var_val_0.value_int <= 6 AND var_val_0.value = '' AND var_val_0.feature_id = 68)  AND (var_val_1.value_int >= 1 AND var_val_1.value_int <= 1 AND var_val_1.value = '' AND var_val_1.feature_id = 61)  AND (var_val_2.value_int >= 4 AND var_val_2.value_int <= 6 AND var_val_2.value = '' AND var_val_2.feature_id = 60)  AND (var_val_3.value_int >= 11 AND var_val_3.value_int <= 30 AND var_val_3.value = '' AND var_val_3.feature_id = 56)  AND (var_val_4.value_int >= 6 AND var_val_4.value_int <= 12 AND var_val_4.value = '' AND var_val_4.feature_id = 62)  AND (var_val_5.value_int >= 201 AND var_val_5.value_int <= 350 AND var_val_5.value = '' AND var_val_5.feature_id = 20)  AND (var_val_6.value_int >= 251 AND var_val_6.value_int <= 400 AND var_val_6.value = '' AND var_val_6.feature_id = 10)  AND (var_val_7.value_int >= 1651 AND var_val_7.value_int <= 1900 AND var_val_7.value = '' AND var_val_7.feature_id = 25)  AND (var_val_8.value_int >= 6 AND var_val_8.value_int <= 6 AND var_val_8.value = '' AND var_val_8.feature_id = 19)  AND cscart_categories.category_id IN (188, 189, 198) AND prices.usergroup_id IN (0, 0, 1) AND prices_2.price IS NULL GROUP BY products.product_id ORDER BY descr1.product asc LIMIT 0, 10 | 
| 4038 | avr-cat-us3 | localhost | catalog_avr_3 | Query   |   27 | statistics | SELECT SQL_CALC_FOUND_ROWS products.product_id, descr1.product as product, products.tracking, products.feature_comparison, products.zero_price_action, products.product_type, products.tax_ids, products.weight, GROUP_CONCAT(IF(products_categories.link_type = 'M', CONCAT(products_categories.category_id, 'M'), products_categories.category_id)) as category_ids, min_qty, max_qty, products.qty_step, products.list_qty_count, products.is_edp, avail_since, buy_in_advance, popularity.total as popularity, products.product_code, products.amount, MIN(prices.price) as price, products.status, products.list_price, descr1.short_description, IF(descr1.short_description = '', descr1.full_description, '') as full_description, products_categories.position, cscart_seo_names.name as seo_name FROM cscart_products as products  LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'EN'  LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id LEFT JOIN cscart_product_features_values ON cscart_product_features_values.product_id = products.product_id AND cscart_product_features_values.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_0 ON d_0.product_id = products.product_id AND d_0.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_1 ON d_1.product_id = products.product_id AND d_1.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_2 ON d_2.product_id = products.product_id AND d_2.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_3 ON d_3.product_id = products.product_id AND d_3.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_4 ON d_4.product_id = products.product_id AND d_4.lang_code = 'EN' LEFT JOIN cscart_product_features_values as d_5 ON d_5.product_id = products.product_id AND d_5.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_0 ON var_val_0.product_id = products.product_id AND var_val_0.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_1 ON var_val_1.product_id = products.product_id AND var_val_1.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_2 ON var_val_2.product_id = products.product_id AND var_val_2.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_3 ON var_val_3.product_id = products.product_id AND var_val_3.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_4 ON var_val_4.product_id = products.product_id AND var_val_4.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_5 ON var_val_5.product_id = products.product_id AND var_val_5.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_6 ON var_val_6.product_id = products.product_id AND var_val_6.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_7 ON var_val_7.product_id = products.product_id AND var_val_7.lang_code = 'EN' LEFT JOIN cscart_product_features_values as var_val_8 ON var_val_8.product_id = products.product_id AND var_val_8.lang_code = 'EN' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 LEFT JOIN cscart_product_prices as prices_2 ON prices.product_id = prices_2.product_id AND prices_2.lower_limit = 1 AND prices_2.price < prices.price  AND prices_2.usergroup_id IN (0, 0, 1) INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id  AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND products.status IN ('A')  LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = products.product_id AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'EN' WHERE 1  AND d_0.variant_id = 131 AND d_1.variant_id = 45 AND d_2.variant_id = 57 AND d_3.variant_id = 64 AND d_4.variant_id = 31 AND d_5.variant_id = 14 AND (var_val_0.value_int >= 1 AND var_val_0.value_int <= 6 AND var_val_0.value = '' AND var_val_0.feature_id = 68)  AND (var_val_1.value_int >= 1 AND var_val_1.value_int <= 1 AND var_val_1.value = '' AND var_val_1.feature_id = 61)  AND (var_val_2.value_int >= 4 AND var_val_2.value_int <= 6 AND var_val_2.value = '' AND var_val_2.feature_id = 60)  AND (var_val_3.value_int >= 11 AND var_val_3.value_int <= 30 AND var_val_3.value = '' AND var_val_3.feature_id = 56)  AND (var_val_4.value_int >= 6 AND var_val_4.value_int <= 12 AND var_val_4.value = '' AND var_val_4.feature_id = 62)  AND (var_val_5.value_int >= 201 AND var_val_5.value_int <= 350 AND var_val_5.value = '' AND var_val_5.feature_id = 20)  AND (var_val_6.value_int >= 251 AND var_val_6.value_int <= 400 AND var_val_6.value = '' AND var_val_6.feature_id = 10)  AND (var_val_7.value_int >= 1651 AND var_val_7.value_int <= 1900 AND var_val_7.value = '' AND var_val_7.feature_id = 25)  AND (var_val_8.value_int >= 6 AND var_val_8.value_int <= 6 AND var_val_8.value = '' AND var_val_8.feature_id = 19)  AND cscart_categories.category_id IN (188, 189, 198) AND prices.usergroup_id IN (0, 0, 1) AND prices_2.price IS NULL GROUP BY products.product_id ORDER BY descr1.product asc LIMIT 0, 10 |

 

Revise this Paste

Parent: 17403
Your Name: Code Language: