
Company overview
iiko
Latest vacancy: March 30, 2026
- Vacancies
- 2
- Interviews
- 1
- Questions
- 13
- Tasks
- 0
Published in the selected period
Vacancies · 0
No vacancies were found for the selected period.
Published records
Interviews · 1
Other direction
Interviews · 1
Grouped by direction
Questions and tasks · 13
DevOps
Questions · 9
Other direction
Questions · 4
Task: You have a user table — 20 million rows 20 thousand registrations per day. The table has columns: CREATE TABLE users ( id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY, name VARCHAR(50) NOT NULL, nickname VARCHAR(40), email VARCHAR(60), created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP(), banned_at TIMESTAMP DEFAULT NULL, status TINYINT(1) DEFAULT 1 ) When a user registers, they are active Registration date is in the created_at field If the user is blocked, we record the timestamp in banned_at and change status to 0 No more than 1% of all registered users per day are blocked Question: 1. How to write a query to count the number of users who were blocked and registered today in pure SQL 2. What index should be created for optimal performance of your query