select * from members where id in ('1','100','1000'); select * from members where group_id in (select id from members_group);