两种办法

##查看前两个用户,使用in
##SELECT device_id as user_infos_example from user_profile limit 0,2;
select device_id as user_infos_example from user_profile where id in (1,2);