# Как запросить список email пользователей, которые не активированы

**URL:** https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024
**Category:** Data & reporting
**Tags:** sql-query
**Created:** [03.Июль.2019 17:08:19 UTC](https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024 "2019-07-03T17:08:19Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [03.Июль.2019 19:04:57 UTC](https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024/2 "2019-07-03T19:04:57Z")

</div>

> [@Phuong\_SuSu](#):
>
> Мне нужен список пользователей, которые не активировали свою учетную запись.  
> Чтобы я мог отправить им напоминание.

Если на вашем сайте установлен плагин [Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566), вы можете получить список пользователей, которые не откликнулись на письмо с подтверждением активации, используя следующий запрос:

```sql
SELECT
u.id AS user_id,
email
FROM users u
JOIN user_emails ue
ON ue.user_id = u.id
WHERE u.active = false

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-query-an-email-list-of-users-that-are-not-actived/122024)._
