I am asking because I noticed a user where all his questions are basically SQL puzzles/challenges. At first, I thought that it was a clever way of not saying it was homework, and not having to show his personal attempts at solving the problem first, while avoiding the inevitable downvotes.
However, that does not seem to be the case here. In fact, quite the opposite, the user tends to post multiple answers to his own questions, which may be a separate issue, but that's not the reason for my question.
Interestingly, his questions have had mixed reception. Here is one case where it was highly upvoted, and was very well received by some very high-rep users. But here is another case where it went the complete opposite way.
In all cases, there is no doubt that the way the question is formulated is very clear (I wish all SQL questions were as clear as his). The difference appears to simply be who looked at the question and whether they thought a puzzle/challenge type of question was appropriate on Stack Overflow.
One of the comments under the question that was downvoted suggested that this type of question was more appropriate on https://codegolf.stackexchange.com/. And this meta thread seems to suggest the same. However, OP responded:
I went through some questions and answers in codegolf.stackexchange.com and I must say it does not strike me as the right fit for this kind of posts.
So, which is it? Are these types of questions welcome on Stack Overflow? If not, what would be the appropriate course of action?
And, maybe this is a bit more touchy, but is it possible that the reason for the lack of consensus in the specific case of SQL questions, is because, if we're going to be honest, most SQL questions on Stack Overflow are effectively treated/handled/answered as if they were individual puzzles/challenges, whether they are explicitly labeled that way or not?
What I mean by this, is that, unlike questions in others tags, I see very little effort by higher rep users to direct users to existing questions/answers that may help them resolve the problem themselves. In other words, very few questions get marked as duplicates (but most actually are a variation of some existing answer). So, is it possible that there is simply a different mentality in Stack Overflow's SQL community, and that it should be accepted for what it is? Meaning: that maybe puzzles/challenges are ok for the SQL tag.
Definition of a "puzzle" or "challenge" question
I would define it as a question that meets all the following requirements:
- No practical use to the OP or the community.
- The OP already knows the answer.
- The only purpose is to have fun challenging the community to see if they can solve the problem.
For the record, I personally don't think these types of questions belong on Stack Overflow. But given that the reaction was mixed, I wanted to get some feedback here.