2
Come contare valori univoci?
Sto cercando di ottenere il numero di indirizzi IP univoci (in questo caso '3'). La tabella è simile alla seguente: Struttura: CREATE TABLE bandits ( key text NOT NULL, ip_address inet, offence text, count bigint DEFAULT 1); Dati: COPIA banditi (chiave, indirizzo_ip, offesa, conteggio) DA stdin; 127.0.0.1_testing 127.0.0.1 testing 1 …