Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • 3
    Can you provide sample table data and expected output? Commented Apr 9, 2015 at 11:15
  • 1
    As always, your version of Postgres, please. It's relevant for the best solution. Commented Apr 9, 2015 at 12:34
  • If a user does an event two times on his/her first day, does (s)he count as "1st-timer" and "2nd-timer"? Commented Apr 9, 2015 at 12:42