Can I group results by domain ?

pk
Posts: 2
Joined: Fri Jun 08, 2001 8:58 am

Can I group results by domain ?

Post by pk »

Hi,

Grouping is a pretty standard SQL feature.
I would like to group my webinator-results by domain,
is there a way to do this ?

The default webinator returns numerous pages on the same domain that I am not interested in, I´d rather have the results display a choice of different domains on the first page.

Thanks,

Rob
bart
Posts: 251
Joined: Wed Apr 26, 2000 12:42 am

Can I group results by domain ?

Post by bart »

Yes, Webinator could group by domain with the proper code. The HTML table within Webinator does not keep the domain separately though, it just stores the whole url within one field. To use GROUP BY you'd have to add a field to store the domain by itself. Using ORDER BY Url and then checking for repeated domain prefixes would have the same effect without altering the table schema.
User avatar
mark
Site Admin
Posts: 5519
Joined: Tue Apr 25, 2000 6:56 pm

Can I group results by domain ?

Post by mark »