DELETE From User_Brand_Points_Map where brand_id = 150;
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),10,now(),now() FROM User where skin_id = 5 and points_lifetime <= 500 );
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),20,now(),now() FROM User where skin_id = 5 and points_lifetime > 500 and points_lifetime <= 1000 );
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),30,now(),now() FROM User where skin_id = 5 and points_lifetime > 1000 and points_lifetime <= 3000 );
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),50,now(),now() FROM User where skin_id = 5 and points_lifetime > 3000 and points_lifetime <= 5000 );
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),80,now(),now() FROM User where skin_id = 5 and points_lifetime > 5000 and points_lifetime <= 10000 );
INSERT INTO User_Brand_Points_Map (SELECT null,user_id,150,CONCAT('splick-SNARF',user_id),100,now(),now() FROM User where skin_id = 5 and points_lifetime > 10000);
