SQLite EXISTS - SQLite Tutorial
https://www.sqlitetutorial.net/sqlite-existsIntroduction to SQLite EXISTS operator. The EXISTS operator is a logical operator that checks whether a subquery returns any row. In this syntax, the subquery is a SELECT statement that returns zero or more rows. If the subquery returns one or more row, the EXISTS operator return true. Otherwise, the EXISTS operator returns false or NULL.