SELECT pt.Id, pt.Name, (SELECT COUNT(*) FROM Posts p WHER...

0

Please login or register to vote for this query.

(click on this box to dismiss)

Joomla Meta

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

SELECT pt.Id, pt.Name, 
(SELECT COUNT(*) FROM Posts p WHERE p.PostTypeId = pt.Id),
(SELECT Min(CreationDate) FROM Posts p WHERE p.PostTypeId = pt.Id)
FROM PostTypes pt

Enter Parameters

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