I executed the following test SQL statement on my Users table and got the above mentioned error:

```
DELETE FROM Users
WHERE Username IS NOT 'Garikai' OR Username IS NOT 'Jane'

```

I don't understand where the problem is arising from as I clearly don't have the MIN() aggregate function in any part of my statement. I'm suspecting a bug on the part of the software manipulating the database (FWIW it's SQLiteStudio 3.2.1), but I may be wrong. Some insights would be appreciated.

EDIT: Here's the entire error message

> 
> [19:49:43] Error while executing SQL query on database 'g\_im': misuse
>  of aggregate function MIN()
> 
> 
>