Sources with citation frequency, ordered by frequency

From TNG_Wiki
Jump to navigation Jump to search

Copy and paste the text between the lines into the reports section below "OR Leave Display, Criteria and Sort fields blank and enter direct SQL SELECT statement here:" and give it the title you think is appropriate

SELECT s.sourceID AS SourceNr, s.title AS Title, s.shorttitle AS ShortTitle, AS Author, s.publisher AS Publisher, s.comments AS Remarks, COUNT(*) AS Number FROM tng_sources AS s LEFT JOIN tng_citations AS c ON s.sourceID=c.sourceID GROUP BY s.sourceID ORDER BY Number