Sqlite select query not returning data

Both queries (working and not-working) are included in the "template node" in the flow posted above.