SELECT * FROM ( select * from view_inventory where brand like 'hostile%' AND QTY > 3AND (rim_size like '' or rim_size like '' or rim_size like '18%' or rim_size like '' or rim_size like '22%' or rim_size like '' or rim_size like '' or rim_size like '28%' or rim_size like '') AND (rim_width like '' or rim_width like '' or rim_width like '' or rim_width like '14%' or rim_width like '14%') AND (bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '%5x5.0%' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '%8x6.5%' or bolt_pattern like '' or bolt_pattern like '%8x200%' or bolt_pattern like '') ) ps PIVOT (SUM (QTY) FOR warehouse IN ( [w1], [w3], [w2], [w4] )) AS pvt ORDER BY item_no DESC;
Hostile Inventory  |
Hostile UTV Inventory  |
MKW Inventory
Page 1 of 1
Hostile Inventory  | Hostile UTV Inventory  | RSR Inventory  | MKW Inventory