SELECT * FROM ( select * from view_inventory where brand like 'hostile%' AND QTY > 3AND (wheel_type = 'cast' or wheel_type = 'forged' or wheel_type = 'dually' or wheel_type = '') AND (finish_type like '' or finish_type like '%mblack%' or finish_type like '' or finish_type like '' or finish_type like '' or finish_type like '') AND (rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '' or rim_size like '24%' or rim_size like '26%' or rim_size like '' or rim_size like '30%') AND (rim_width like '' 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 '%6x135%' or 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 '' or bolt_pattern like '' or bolt_pattern like '' or bolt_pattern like '' 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