Сколько пользователей имели право доступа к каналу на начало дня
Full story
This item is a technical write-up about finding out how many users held access rights to a channel at the start of a given day. Using SQLite as the example, the author shows how to count a person who holds two active rights only once. The approach also keeps days with zero in the report rather than dropping them.
Как узнать, у скольких пользователей было право доступа к каналу на начало дня? На примере SQLite покажу, как учесть человека с двумя действующими правами один раз и сохранить в отчёте дни с нулём. Читать далее