Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8940841
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:09:01+00:00 2026-06-15T11:09:01+00:00

Using the Stack Exchange Data Explorer I’m trying to figure out how many different

  • 0

Using the Stack Exchange Data Explorer I’m trying to figure out how many different users asked questions between 19 October 2012 and 9 November 2012. I’ve gotten my query to this:

SELECT Count(*)
FROM Posts
WHERE (CreationDate BETWEEN '2012-10-19' AND '2012-11-09') AND PostTypeId = 1
GROUP BY OwnerUserId

However, this returns 3,071 rows on Super User (I’m not going to try it on Stack Overflow). This seems way too high. Am I missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:09:03+00:00Added an answer on June 15, 2026 at 11:09 am

    If you just want to get a simple count of the distinct users, you can use the DISTINCT keyword like this:

    SELECT Count(DISTINCT OwnerUserID)
    FROM Posts
    WHERE (CreationDate BETWEEN '2012-10-19' AND '2012-11-09') AND PostTypeId = 1
    

    The distinct keyword will ensure that you only count each OwnerUserID once – the original question will just return the number of questions that each distinct user asked (which is fairly useless without additional context).

    In effect, this query returns a count of the number of rows returned in the original query.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the Stack Exchange Data Explorer to learn SQL, but I think the
Continuing with the spirit of using the Stack Exchange Data Explorer to learn SQL,
Im trying to download share data from a stock exchange using python. The problem
In the following : ( running a query on the Stack Exchange Data Explorer
We are using GameKit to communicate and exchange data in peer-to-peer mode between iOS
I am trying to view the lengthiest posts on stackoverflow using: https://data.stackexchange.com/stackoverflow/query/new I am
I'm trying to plot heatmap in ggplot2 using csv data following casbon's solution in
Not a programmer but using data.stackexchange.com. I'm querying the public SE data explorer and
I am stuck on a project which needs to exchange data between two programs
In the stack using Eclipse, sometimes I saw Manager$2.run() line : 278 What does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.