Test

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
    format(p.CreationDate, 'MMM yyyy') as mois,
    t.TagName as tag,
    sum(p.ViewCount) as total
  from Posts p
  inner join PostTags pt on p.Id = pt.PostId
  inner join Tags t on t.Id = pt.TagId
  where p.CreationDate > '2018-01-01' AND
  (t.TagName = 'flutter' or t.TagName = 'react-native')
  group by format(p.CreationDate, 'MMM yyyy'), t.TagName

Enter Parameters

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