RienSQL
TASK #191 · Medium · Wargaming

Players Active on Two Consecutive Days

Your brief
The player_battles table stores battles with the battle date battle_date.

A player is considered active on a day if they had at least one battle that day. Find the players who were active on both days — 2024-09-14 and 2024-09-15.

Output player_id of such players. Sort by player_id ascending.
Expected columnsplayer_idWargaming — player battles
SQL editor
SQLite
Ctrl / ⌘ + ↵
Result

Write a query and run it to see the results.

Schema
player_battlesbattle_id, player_id, nation, battle_date, exp