SQL helpers for use with sqlite & FMDB