Db: LIMIT statement builder