Sqlite select query not returning data

Hmmm. I see. Query is returning data when first row is removed. But why it is not working with the first row?

When I run whole query (including the first row) from CLI and from DB browser for SQLite the query is working....