SELECT `user_id`, `username`, `first_name`,`last_name`, `title` FROM `userdata` WHERE `type` = 'supergroup', 'group'
SELECT `user_id`, `username`, `first_name`,`last_name`, `title`
FROM `userdata`
WHERE `type` in ('supergroup', 'group')
SELECT `user_id`, `username`, `first_name`,`last_name`, `title`
FROM `userdata`
WHERE `type` = 'supergroup'
OR `type` = 'group'