select device_id from user_profile where id between 1 and 2;