SELECT * FROM AUTHOR WHERE FLOOR(DATEDIFF(bDate,CURDATE())/365.25*-1) > 30 AND (SELECT a.* FROM AUTHOR a WHERE (SELECT count(paperId) from AUTHOR_PAP