SELECT * FROM hist ( ON (SELECT 1) PARTITION BY 1 InputTable (data_table) OutputTable (out_table) [ AutoBin ({ 'Sturges' | 'Scott' | number_of_bins }) ] [ CustomBinTable (bin_table) ] [ CustomBinColumn ('breaks_col') ] [ StartValue ('bin_start')] [ BinSize ('bin_size')] [ EndValue ('bin_end')] ValueColumn ('value_col') [ Inclusion ({ 'left' | 'right' }) ] [ GroupbyColumns('groupby_col') ] );