When using the stack overflow data explorer, how can I select questions with 3 or more answers?
Asked
Active
Viewed 1,467 times
2
-
In your question "the corresponding answers"...do you mean "Accepted Answer Id" in the Table or all answers in each question? Would you explain more? – Cloud Cho Sep 20 '22 at 21:22
2 Answers
2
There's an AnswerCount
field on the Posts table:
SELECT * FROM Posts WHERE AnswerCount >= 3 AND PostTypeId = 1

Joel Coehoorn
- 399,467
- 113
- 570
- 794
-
-
With a JOIN. But you need to the filter the results more. This will pull quite a large amount of data back, and the data explorer limits you to 50,000 rows. – Joel Coehoorn Nov 28 '16 at 04:58
-
Sounds like you need a basic SQL tutorial. That's out of scope here. – Joel Coehoorn Nov 28 '16 at 05:46
0
you can see the number of answers on the left side of the question. the number in green box is the number of correct answers.

safwan
- 87
- 1
- 1
- 10