# *********************************************************************
# Original code: summ,v 2.6 1994/11/05 12:18:40 hobbs
#
# Adapted to NoSQL by Carlo Strozzi
#
# summtable.txt: help text
# Copyright (c) 1998,2006 Carlo Strozzi
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 dated June, 1991.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
# *********************************************************************
# $Id: summtable.txt,v 1.2 2006/03/10 11:26:13 carlo Exp $

                      NoSQL operator: summtable

Show statistics about a NoSQL table.

Usage: summtable [options] [column ...]

Options:
    --count-unique (-cu)
      A Count of the unique values for each column given.

    --count-unique-null (-cun)
      Like option '-cu' but also shows counts of null (empty) and
      blank values (have only space chars), if either exist.

    --help (-h)
      Display this help text.

    --count-unique-bycolumn (-cuu)
      A Count of each unique value for each column given.

    --count-unique-bycolumn-2 (-cu2)
      Like option '-cuu' but shows only counts greater than one.

    --totals (-m)
      The min, average, max, total for each column given.

    --revert (-v)
      Inverse option. Selects all columns except those named.

Notes:

Produces "summary" information about the table read from STDIN. If no
columns are given then information about all columns is produced. A
Count of the data rows is always shown.

