How do I delete one record from the states table on a Raspberry pi running Alpine Linux 3.12.1

Tags: #<Tag:0x00007f3263ddc0d8>

I’m running Home Assistant on a Raspberry pi running Alpine Linux 3.12.1

I want to delete some history from the database, but I cannot find a tool (like sqlite) that I can install so I can write to the database. (apt-get pip etc. are not installed)

How can I delete specific records from the database when my HA is running on a Raspberry PI?

Found it:

apk add sqlite

Then you can start sqlite by typing sqlite3