add missing cursor executes; replace some LEFT JOINS by INNER JOIN; don't remove author for now
add missing cursor executes; replace some LEFT JOINS by INNER JOIN; don't remove author for now

AA-ALERT/frbcatdb,AA-ALERT/frbcatdb