RESULTSET |
query |
|
ATTR1LIST |
BRAND |
BRANDDISPLAY |
DEPT |
DEPTTREE |
FAMLIST |
HASIMAGE |
INTERNALLISTPRICE |
INTERNALMARKDOWN |
INTERNALPRICE |
LARGEPICTURE |
LISTPRICE |
MEDIUMPICTURE |
NAME |
NEW |
OF1 |
OF10 |
OF11 |
OF12 |
OF13 |
OF14 |
OF15 |
OF16 |
OF17 |
OF18 |
OF19 |
OF2 |
OF20 |
OF3 |
OF4 |
OF5 |
OF6 |
OF7 |
OF8 |
OF9 |
OVERALLQOH |
PRICERANGE |
PRODREVIEWSAVERAGE |
RANKING |
REALNAME |
ROMANTICCOPYLONG |
ROMANTICCOPYSHORT |
SALE |
SALEPRICERANGEBOTTOM |
SALEPRICERANGETOP |
SIZELIST |
SMALLPICTURE |
SOLD |
SORTPOSITION |
SORTPOSITION |
STYLE |
STYLE_ID |
SUBTYP1 |
SUBTYP2 |
SUBTYP3 |
TERMSALE |
TERMSALELISTPRICE |
TERMSALEPRICE |
TYP |
URL |
WEBSTYLE |
WEIGHTED_SEARCH |
1 |
RED,SIGNATURE TIMBER,BAD BASS GREY,SLATE
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
RED|NULL|NULL,SIGNATURE TIMBER|NULL|NULL,BAD BASS GREY|NULL|NULL,SLATE|NULL|NULL
|
1
|
4
|
1
|
2.99
|
22273-DEFAULT-l.jpg
|
4
|
22273-DEFAULT-m.jpg
|
LOCAL BOY KOOZIES
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
.LOCALBOYKOOZIES
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
6
|
5-and-under
|
0.00
|
[empty string]
|
Local Boy Koozies
|
<p>The Local Boy koozie is offered in multiple designs and created to insulate your drink and absorb condensation!<br /></p>
|
[empty string]
|
N
|
2.99
|
4
|
OS
|
22273-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100001
|
75497
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-koozies-75497
|
L2100001
|
0
|
2 |
OLD_SCHOOL_CAMO,LOCALFLAGE,LOCALFLAGE OD
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
OLD_SCHOOL_CAMO|NULL|NULL,LOCALFLAGE|NULL|NULL,LOCALFLAGE OD|NULL|NULL
|
1
|
15
|
0
|
15
|
22268-DEFAULT-l.jpg
|
15
|
22268-DEFAULT-m.jpg
|
LOCAL BOY LICENSE PLATE
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
.LOCALBOYLICENSEPLATE
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
3
|
10-to-15
|
0.00
|
[empty string]
|
Local Boy License Plate
|
<p>Local Boy License Plate </p>
|
[empty string]
|
N
|
15
|
15
|
OS
|
22268-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100005
|
75499
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-license-plate-75499
|
L2100005
|
0
|
3 |
SEAGRASS
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
SEAGRASS|NULL|NULL
|
1
|
30
|
0
|
30
|
12984-DEFAULT-l.jpg
|
30
|
12984-DEFAULT-m.jpg
|
LOCAL BOY DOG BOWL
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
.LOCALBOYDOGBOWL
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
1
|
25-to-50
|
0.00
|
[empty string]
|
Local Boy Dog Bowl
|
[empty string]
|
[empty string]
|
N
|
30
|
30
|
OS
|
12984-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100020
|
75501
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-dog-bowl-75501
|
L2100020
|
0
|
4 |
BROWN,ORANGE,PINK
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
BROWN|NULL|NULL,ORANGE|NULL|NULL,PINK|NULL|NULL
|
1
|
25
|
0
|
25
|
12986-DEFAULT-l.jpg
|
25
|
12986-DEFAULT-m.jpg
|
LOCAL BOY BIOTHANE DOG COLLAR
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
.LOCALBOYBIOTHANEDOGCOLLAR
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
17
|
20-to-25
|
0.00
|
[empty string]
|
Local Boy Biothane Dog Collar
|
[empty string]
|
[empty string]
|
N
|
25
|
25
|
XL,OS,L,M
|
12986-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100021
|
75502
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-biothane-dog-collar-75502
|
L2100021
|
0
|
5 |
PINK,BROWN
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
PINK|NULL|NULL,BROWN|NULL|NULL
|
1
|
30
|
0
|
30
|
13787-DEFAULT-l.jpg
|
30
|
13787-DEFAULT-m.jpg
|
LOCAL BOY BIOTHANE DOG LEASH
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
.LOCALBOYBIOTHANEDOGLEASH
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
9
|
25-to-50
|
0.00
|
[empty string]
|
Local Boy Biothane Dog Leash
|
[empty string]
|
[empty string]
|
N
|
30
|
30
|
OS
|
13787-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100022
|
75503
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-biothane-dog-leash-75503
|
L2100022
|
0
|
6 |
CAMO
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
CAMO|NULL|NULL
|
1
|
8
|
0
|
12
|
21239-DEFAULT-l.jpg
|
8
|
21239-DEFAULT-m.jpg
|
LOCAL BOY CAMO ROPE CIRCLE TOY
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
6
|
10-to-15
|
0.00
|
[empty string]
|
Local Boy Camo Rope Circle Toy
|
<p>From tug-of-war rings to flying logo disks, our ever-expanding line of pet toys are sure to please most any of our furry friends. That said, it's not all fun and games as they can also serve as effective training aids. From the beach to creek and everything in between, show some love to your pal with one of our LBO curios. </p><p> </p><p> </p>
|
[empty string]
|
N
|
12
|
12
|
OS
|
21239-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100038
|
231711
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-camo-rope-circle-toy-231711
|
L2100038
|
0
|
7 |
CAMO
|
LOCAL BOY OUTFITTERS
|
Local Boy Outfitters
|
HUNTING
|
Hunting
|
CAMO|NULL|NULL
|
1
|
12
|
0
|
12
|
21240-DEFAULT-l.jpg
|
12
|
21240-DEFAULT-m.jpg
|
LOCAL BOY CAMO ROPE TOY
|
N
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
5813
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
2
|
10-to-15
|
0.00
|
[empty string]
|
Local Boy Camo Rope Toy
|
<p>From tug-of-war rings to flying logo disks, our ever-expanding line of pet toys are sure to please most any of our furry friends. That said, it's not all fun and games as they can also serve as effective training aids. From the beach to creek and everything in between, show some love to your pal with one of our LBO curios. </p><p> </p><p><br /></p>
|
[empty string]
|
N
|
12
|
12
|
OS
|
21240-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
L2100039
|
231712
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
local-boy-outfitters/local-boy-camo-rope-toy-231712
|
L2100039
|
0
|
8 |
[empty string]
|
QUAKE INDUSTRIES
|
Quake Industries
|
HUNTING
|
Hunting
|
[empty string]
|
1
|
24.99
|
0
|
24.99
|
22084-DEFAULT-l.jpg
|
24.99
|
22084-DEFAULT-m.jpg
|
QUAKE 50005-6 GAME STRAP
|
N
|
AMAZON,EBAY
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
789
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
4
|
20-to-25
|
0.00
|
[empty string]
|
Quake Claw Game Carrying Strap
|
<ul><li>Convenient carry mechanism for your small birds and game by Quake Industries</li><li>Non-slip, non-absorbent strap won't fail you when you need it</li><li>Can hold up to six birds or small animals, hands-free</li><li>Frees up your hands for other hunting activities</li><li>Game won't spoil as quickly as in a game bag or pouch</li><li>Camouflage color</li></ul>
|
[empty string]
|
N
|
24.99
|
24.99
|
[empty string]
|
22084-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
500056
|
243020
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
quake-industries/quake-claw-game-carrying-strap-243020
|
500056
|
0
|
9 |
[empty string]
|
QUAKE INDUSTRIES
|
Quake Industries
|
HUNTING
|
Hunting
|
[empty string]
|
1
|
24.99
|
0
|
24.99
|
22087-DEFAULT-l.jpg
|
24.99
|
22087-DEFAULT-m.jpg
|
QUAKE 81000-1 BAG STRAP
|
N
|
AMAZON,EBAY
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
789
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
3
|
20-to-25
|
0.00
|
[empty string]
|
Quake Claw Gear Bag Strap
|
<p>The All Grip, No Slip Quake Gear Bag Strapsare great for use with any luggage, computer bag,briefcase, camera case or field gear bags and aredurable, easy to attach and reduce carry fatigue toyour shoulder and neck. Quake Gear Bag Straps can beadjusted for various lengths and will attach quickly to anystandard D or O-ring bag hooks. Don't suffer through anothertrip without the comfort of Quake Gear Bag Strap on your bags.</p><p> </p>
|
[empty string]
|
N
|
24.99
|
24.99
|
[empty string]
|
22087-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
810001
|
243025
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
quake-industries/quake-claw-gear-bag-strap-243025
|
810001
|
0
|
10 |
[empty string]
|
QUAKE INDUSTRIES
|
Quake Industries
|
HUNTING
|
Hunting
|
[empty string]
|
1
|
54.99
|
0
|
54.99
|
22089-DEFAULT-l.jpg
|
54.99
|
22089-DEFAULT-m.jpg
|
QUAKE 91006-0 AMMO POUCH
|
N
|
AMAZON,EBAY
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
789
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
[empty string]
|
7
|
50-to-100
|
0.00
|
[empty string]
|
Quake Stocker II Ammo Pouch/Cheek Pad - Grey
|
<p>Quake Stocker II Grey Ammo Pouch & Cheek Pad #910060 The Stocker II is Quake`s larger gunstock pouch. It`s fully adjustable to fit almost any stock on the market with hook and loop straps and has a soft cheek piece for added comfort. Features: Second ammo holder located on inside of pouch Holds up to 14 cartridges total Fits .223 Rem. up to .338 Win. Mag</p><p> </p>
|
[empty string]
|
N
|
54.99
|
54.99
|
[empty string]
|
22089-DEFAULT-s.jpg
|
[empty string]
|
1000
|
1000
|
910060
|
243034
|
EMPTY
|
EMPTY
|
EMPTY
|
0
|
0
|
0
|
EMPTY
|
quake-industries/quake-stocker-ii-ammo-pouch-cheek-pad-grey-243034
|
910060
|
0
|
|
SQL |
SELECT top 10 style_id
, max(webstyle) as webstyle
, max(url) as url
, max(realName) as realName
, max(style) as style
, max(overallqoh) as overallqoh
, max(sale) as sale
, max(new) as new
, max(SmallPicture) as SmallPicture
, max(MediumPicture) as MediumPicture
, max(LargePicture) as LargePicture
, max(sortposition) as sortposition
, max(dept) as dept
, max(typ) as typ
, max(subtyp1) as subtyp1
, max(subtyp2) as subtyp2
, max(subtyp3) as subtyp3
, max(brand) as brand
, max(branddisplay) as branddisplay
, max(priceRange) as priceRange
, min(salePriceRangeBottom) as salePriceRangeBottom
, max(salePriceRangeTop) as salePriceRangeTop
, max(ListPrice) as ListPrice
, max(ranking) as ranking
, max(romanticcopylong) as romanticcopylong
, max(romanticcopyshort) as romanticcopyshort
, max(depttree) as depttree
, max(attr1list) as attr1list
, max(famlist) as famlist
, max(sizelist) as sizelist
, max(name) as name
, max(prodreviewsaverage) as prodreviewsaverage
, max(INTERNALLISTPRICE) as INTERNALLISTPRICE
, max(INTERNALMARKDOWN) as INTERNALMARKDOWN
, max(INTERNALPRICE) as INTERNALPRICE
, max(TERMSALELISTPRICE) as TERMSALELISTPRICE
, max(TERMSALEPRICE) as TERMSALEPRICE
, max(TERMSALE) as TERMSALE
, max(of1) as of1
, max(of2) as of2
, max(of3) as of3
, max(of4) as of4
, max(of5) as of5
, max(of6) as of6
, max(of7) as of7
, max(of8) as of8
, max(of9) as of9
, max(of10) as of10
, max(of11) as of11
, max(of12) as of12
, max(of13) as of13
, max(of14) as of14
, max(of15) as of15
, max(of16) as of16
, max(of17) as of17
, max(of18) as of18
, max(of19) as of19
, max(of20) as of20
, min(sortposition) as sortposition
, max(quantitysoldsum) as sold
, CASE WHEN isNull(max(picture_id),0) = 0 THEN 0 ELSE 1 END as hasImage
, CASE WHEN isNull(max(weighted_search),0) = 1 THEN 900000000 ELSE 0 END as weighted_search
FROM web_all_products
WHERE 1=1
--AND pictureid is not null
and ltrim(rtrim(dept)) = ? and ltrim(rtrim(typ)) = 'EMPTY'
AND (
1=2
OR upper(brand) like ?
OR upper(brand) like ?
OR upper(brand) like ?
OR upper(brand) like ?
OR upper(brand) like ?
OR upper(brand) like ?
)
GROUP BY STYLE_ID |