I am trying to show all authors and how many books they have published, however the below query omits the authors with no books published
SELECT INITCAP(fname), INITCAP(lname), COUNT(*) FROM author JOIN bookauthor USING (authorid) GROUP BY INITCAP(fname), INITCAP(lname);