DROP TABLE IF EXISTS cars_scott_out; SELECT * FROM Hist_Reduce ( ON Hist_Map ( ON cars_hist AS data_input PARTITION BY any ON hist_prep ( ON cars_hist value_column ('hp') ) AS data_stat DIMENSION value_column ('hp') bin_select ('Scott') ) PARTITION BY 1 ) ORDER BY bin;