
BANDANA
$3.99
Choose Color
-
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0 -
query RESULTSET query ATTR1 ATTR1_ENTRY_ID FAM HEX MAXQC MAXQOH MINQC MINQOH ORIGATTR1 QOH SKUOF16 SKU_ID SORT_ORDER STYLE_ID 1 BLACK 110772 [empty string] [empty string] 0 12 0 0 BLACK 12 [empty string] 361345 3 69502 2 RED 110773 [empty string] [empty string] 0 12 0 0 WINE 12 [empty string] 486032 4 69502 3 BLUE 110774 [empty string] [empty string] 0 12 0 0 LT_BLUE 12 [empty string] 361351 5 69502 4 GRAY 110775 [empty string] [empty string] 0 12 0 0 SILVER 12 [empty string] 486039 6 69502 5 PINK 110776 [empty string] [empty string] 0 12 0 0 HOT_PINK 12 [empty string] 502054 7 69502 6 GREEN 110778 [empty string] [empty string] 0 12 0 0 KELLY_GREEN 12 [empty string] 361346 9 69502 7 YELLOW 110779 [empty string] [empty string] 0 12 0 0 LEMON 12 [empty string] 361350 10 69502 8 PINK 110780 [empty string] [empty string] 0 12 0 0 LT_PINK 12 [empty string] 361348 11 69502 9 BLUE 110781 [empty string] [empty string] 0 12 0 0 NAVY 12 [empty string] 361344 12 69502 10 ORANGE 110782 [empty string] [empty string] 0 12 0 0 ORANGE 12 [empty string] 361352 13 69502 11 VIOLET 110783 [empty string] [empty string] 0 12 0 0 PURPLE 12 [empty string] 361347 14 69502 12 BLUE 110785 [empty string] [empty string] 0 12 0 0 ROYAL 12 [empty string] 361353 16 69502 13 BLUE 110786 [empty string] [empty string] 0 12 0 0 TURQUOISE 12 [empty string] 361349 17 69502 14 WHITE 110787 [empty string] [empty string] 0 12 0 0 WHITE 12 [empty string] 486038 18 69502 15 ATHL_GOLD 110788 [empty string] [empty string] 0 12 0 0 ATHL_GOLD 12 [empty string] 922580 19 69502 16 LIME_GREEN 110789 [empty string] [empty string] 0 12 0 0 LIME_GREEN 12 [empty string] 922581 20 69502 17 MAST_HUNTER 110797 [empty string] [empty string] 0 12 0 0 MAST_HUNTER 12 [empty string] 690262 28 69502 18 MAST_RED 110798 [empty string] [empty string] 0 12 0 0 MAST_RED 12 [empty string] 690261 29 69502 CACHED false EXECUTIONTIME 0 SQL SELECT distinct (b.attr1) as origAttr1, max(CASE WHEN b.attr1_alias IS NULL OR RTRIM(LTRIM(b.attr1_alias)) = '' THEN b.attr1 ELSE b.attr1_alias END) as attr1, max(a.sku_id) as sku_id, max(b.attr1_entry_id) as attr1_entry_id, sum(e.qoh+e.qc) as qoh , max(b.attr1_order) as sort_order, max(c.attr1_hex) as hex,max(d.attr1_fam) as fam,max(a.SKU_OF16) as skuOF16,max(e.qoh) as maxqoh,max(e.qc) as maxqc,min(e.qoh) as minqoh,min(e.qc) as minqc,max(a.style_id) as style_id FROM tb_skus a with (nolock) inner join (select distinct sku_id as sku_id from TB_SKU_BUCKETS with (nolock) where 1=1 and store_id in (11,5,8,6,9,14,15,7,2,1,3,97) group by sku_id having sum(qoh+qc) >=2) skuqoh on (skuqoh.sku_id=a.sku_id) LEFT JOIN tb_attr1_entries b WITH (NOLOCK) ON (b.attr1_entry_id = a.attr1_entry_id) LEFT JOIN tb_sku_buckets e WITH (NOLOCK) ON (e.sku_id = a.sku_id) LEFT JOIN tb_attr1_hexes c WITH (NOLOCK) ON (b.attr1=c.attr1) LEFT JOIN tb_attr1_families d WITH (NOLOCK) ON (c.attr1_fam_id = d.attr1_fam_id) WHERE (a.sell_web not in ('N','NO') or (a.sell_web is null)) and a.style_id=? AND e.store_id in(11,5,8,6,9,14,15,7,2,1,3,97) GROUP BY b.attr1 HAVING sum(e.qoh+e.qc) >= 2 ORDER BY max(b.attr1_order), max(b.attr1_entry_id) SQLPARAMETERS array 1 69502 struct INTERNALLISTPRICE 3.99 INTERNALMARKDOWN false INTERNALPRICE 3.99 REG 3.99 SALE 3.99 TERMSALE false TERMSALELISTPRICE 0 TERMSALEPRICE 0
Description
Specs
Reviews
Live Chat
Video
This unassuming cotton Bandana is one heck of a multi-tasker – tie it around your neck for protection from the sun, use it to mop up sweat and dirt on a long hike, or knot it up like a headband to keep your hair out of your face cleaning house. You can even use it as an informal cloth napkin at your backyard barbecue! Featuring a traditional paisley design, it is available in an assortment of colors that you’re sure to love.
- Made in USA
- 100% cotton
- 22 x 22 inches
- Machine wash cold, tumble dry
No Reviews Yet!
-
Description
This unassuming cotton Bandana is one heck of a multi-tasker – tie it around your neck for protection from the sun, use it to mop up sweat and dirt on a long hike, or knot it up like a headband to keep your hair out of your face cleaning house. You can even use it as an informal cloth napkin at your backyard barbecue! Featuring a traditional paisley design, it is available in an assortment of colors that you’re sure to love.
-
Specs
- Made in USA
- 100% cotton
- 22 x 22 inches
- Machine wash cold, tumble dry
- Reviews
You may also like
