Reason for Why don't we get exit code as 0 even though the select query is wrong.