At the moment I have: SELECT idletime, COUNT(*) FROM vmstat GROUP BY idletime
But because there are about 400.000 records (and counting) it is not the most convenient information. Instead of the number of records I would like to have the percentage of the records. Is this possible? Also: how would I work with slices, say: 0-5, 6-10, 11-15, … 96-100. -- Cecil Westerhof _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users