add sql for book menu links