Re: Extracting hostname from URI column

Поиск
Список
Период
Сортировка
От chester c young
Тема Re: Extracting hostname from URI column
Дата
Msg-id 696778.6801.qm@web54301.mail.re2.yahoo.com
обсуждение исходный текст
Ответ на Re: Extracting hostname from URI column  (ogjunk-pgjedan@yahoo.com)
Список pgsql-sql
> And what I'd like is something that would give me the counts for the
> number of occurrences of each unique hostname.  Something much like
> `uniq -c'.  Can anyone tell me how that's done or where I should look
> for info? (I'm not sure what to look for, that's the problem).
> 

select substring( ... ), count(1) from your_table group by 1;


      
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469


В списке pgsql-sql по дате отправления:

Предыдущее
От: Paul Lambert
Дата:
Сообщение: Re: Extracting hostname from URI column
Следующее
От: ogjunk-pgjedan@yahoo.com
Дата:
Сообщение: Re: Extracting hostname from URI column