2 ms·
SELECT COUNT( DISTINCT source ) FROM queries ORDER BY source ASC -- COUNT ( DISTINCT ... ) ~= uniq | wc -l ;; sort without -u is this busybox? ORDER BY col ASC
by mjevans 2y ago
SELECT COUNT( DISTINCT source ) FROM queries ORDER BY source ASC
-- COUNT ( DISTINCT ... ) ~= uniq | wc -l ;; sort without -u is this busybox? ORDER BY col ASC
-- wait this doesn't need sort and uniq if it's just being counted...
SELECT COUNT( DISTINCT source ) FROM queries