Hallo, jetzt hab ich mal ne Aufgabe 
habe eine Tabelle mit Einträgen folgender Art
=> Spalte Type Varchar(255)
http://www.meinedomain.de/pfad/datei.html
http://www.meinedomain.de/pfad/datei1.html
http://www.meinedomain.de/pfad1/datei.html
http://www.meinedomain2.de/pfad/dati.html
http://www.meinedomain2.de/pfad/dati.html
...
nun brauch ich eine Abfrage, welche mir nur die Domains
gibt, und dazu die Anzahl, wie oft diese Vorkommen also:
4 www.meinedomain.de
2 www.meinedomain2.de
...
PS: KEINE Änderung der DB möglich, ist ne Kunden DB

habe eine Tabelle mit Einträgen folgender Art
=> Spalte Type Varchar(255)
http://www.meinedomain.de/pfad/datei.html
http://www.meinedomain.de/pfad/datei1.html
http://www.meinedomain.de/pfad1/datei.html
http://www.meinedomain2.de/pfad/dati.html
http://www.meinedomain2.de/pfad/dati.html
...
nun brauch ich eine Abfrage, welche mir nur die Domains
gibt, und dazu die Anzahl, wie oft diese Vorkommen also:
4 www.meinedomain.de
2 www.meinedomain2.de
...
PS: KEINE Änderung der DB möglich, ist ne Kunden DB
Kommentar