//select * from table between `lowerdate` and `upperdate`
INSERT INTO moveto.activity_img SELECT * FROM movefrom.activity_img where id between 1 and 2;
//delete from original database
DELETE FROM movefrom.activity_img where id between 1 and 2;
SELECT * FROM bulletin WHERE mdate < NOW( ) AND mdate > '2014-05-21'
訂閱部落格