My comments

0

Please login or register to vote for this query.

(click on this box to dismiss)

Craft CMS Meta

Q&A about the site for administrators, end users, developers and designers for Craft CMS

select 
  postid as [Post Link],
  rn,
  id, 
  creationdate, 
  text


from (
select 
  postid,
  id, 
  creationdate, 
  text, 
  row_number() over (partition by postid order by id) as rn
from comments
where userid = ##userid## ) t

Enter Parameters

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