SELECT * FROM ( select * from view_inventory where brand like 'hostile%' AND QTY > 3AND (wheel_type = 'cast' or wheel_type = '' or wheel_type = 'dually' or wheel_type = 'sprinter') AND (rim_size like '' or rim_size like '17%' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '') AND (rim_width like '9%' or rim_width like '' or rim_width like '12%' or rim_width like '' or rim_width like '') AND (bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '%8x180%' or bolt_pattern like '' or bolt_pattern like '%5x5.0%' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '') AND (offset between -20 and 0 or offset between 0 and 20 ) ) 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