Add support of offset and limit for "select" command