Question answer prediction

0

Please login or register to vote for this query.

(click on this box to dismiss)

スタック・オーバーフロー

プログラマーとプログラミングに熱心な人々のための質問と回答

SELECT 
    Users.Reputation,
    case
      when Posts.AcceptedAnswerId is null then 0
      when Posts.AcceptedAnswerId is not null then 1
    end as "Accepted",
    DATEDIFF("dd", Users.CreationDate, Posts.CreationDate)
        AS "Membership length at the time of asking [days]"
      
FROM
    Posts
  INNER JOIN
    Users ON Users.Id = OwnerUserId
WHERE 
    PostTypeId = 1 and CommunityOwnedDate is null and ClosedDate is null

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results