get tags

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla

Q&A for Joomla! administrators, users, developers and designers

SELECT
  count(*) as oneDayVoteCnt,
  a.postid
  from votes a
  left join posts b
  on a.PostId = b.id --the question is the answer's parent
  and datediff(day,b.creationDate,a.creationDate) <= 1
  group by a.PostId

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results