Well, the consensus appears to be "That depends". On its face, the question is not a bad question about a SQL query, aside from the seriously borked original title. All of the relevant information is presented; it doesn't require an MCVE; and all of the pertinent details about the technologies involved are included.
However, it's as plain as the nose on your face that the question is posted by a "zero-effort" user that is using code they got from somewhere and about which they have no idea how it works; so they have no idea why it doesn't work. The reason it doesn't work might as well have a strobelight on it.
So then we come to this Meta question: would the answer to this question be useful to future new users? Should it be undeleted?
On a side note, I'm aware that there is a common assumption that I asked this question because I wanted the question to be undeleted (presumably for the fake Unicorn points, which, I might add, at the time were zero). If that were the case, I would simply have raised a Mod flag for vandalism, but that's by-the-by, and since people wed to their assumptions tighter than they do to their spouses, there's nothing to be gained by belaboring the point.
One reasonable conclusion could be that the answer would only be useful to future users that are in the same boat as the OP, effort-wise. A new user (even a novice) that actually wrote a query like that would have at least some idea of what it did and how it did it, so they wouldn't ask that question in the first place.
A further complication was introduced when a Moderator undeleted the post right in the middle of the discussion, thereby proving the axiom that being a Moderator on Stack Overflow is a completely thankless job, and also proving the informal corollary that "sometimes you can't please any of the people, ever".
At that point, the discussion pretty much went off the rails, and people just started voting their irritation, which is understandable, if perhaps not constructive. The question was immediately close-voted for "Typographical error", which, objectively, is a blatantly flimsy pretext, but since the "Lacks basic understanding" close-reason is no longer available, it's not entirely unreasonable.
I'm left with the conclusion that the consensus, at least the voting consensus, is:
That depends. Do we want to be useful to future users? Yes. Do we want to be useful to "zero-effort" future users? No.
which certainly seems reasonable enough.
value()
not working with SQLite maybe add a well written self-answered Q&A about it instead? Sounds like a lot less work than trying to polish that linked question.