SELECT DISTINCT `OFFNAME`
FROM `ADDROBJ`
WHERE SHORTNAME IN ('г', 'обл', 'Чувашия', 'АО', 'Аобл', 'край', 'округ', 'Респ', 'п', 'р-н', 'дп', 'кп', 'пгт', 'рп', 'с/о', 'с/п', 'городок', 'гп', 'д', 'дп', 'нп', 'остров', 'с', 'ст-ца', 'х', 'сад')
select `r`.`id` as `req`, `ss`.`user_id` as `user`, `ss`.`created_at` as `date`
from (
select `user_id`, min(`created_at`) as `min_date`
from `seo_source`
group by `user_id`
) as ss
right join `seo_user_request` as `su` on `su`.`user_id` = `ss`.`user_id`
left join `request` as `r` on `r`.`id` = `su`.`request_id`