MySQL helpers for comicpull