Sql Postgresql Subquery Returning Rows When It Should Fail On Invalid

Sql Postgresql Subquery Returning Rows When It Should Fail On Invalid