1. -- Error: Mixing of GROUP columns (MIN(),MAX(),COUNT(),...) with no GROUP columns is illegal if there is no GROUP BY clause query
  2.  
  3. SELECT n.newspaper_id, n.DATE, n.sent, COUNT(o.nid) AS node_count
  4. FROM newspaper AS n
  5. LEFT JOIN newspaper_nodes AS o
  6. USING (newspaper_id)
  7. ORDER BY DATE DESC LIMIT 0, 25;'