Ämne: MySQL problem
Visa ett inlägg
Oläst 2004-02-29, 15:09 #2
nicclas nicclas är inte uppkopplad
Flitig postare
 
Reg.datum: May 2003
Inlägg: 340
nicclas nicclas är inte uppkopplad
Flitig postare
 
Reg.datum: May 2003
Inlägg: 340
Prova med:
Kod:
SELECT LEFT(http_referer, LOCATE('/',http_referer,9)-1) as URL, COUNT(*) as ANTAL FROM hits_outside GROUP BY URL ORDER BY ANTAL DESC;
och se om inte det kan fungera som du tänkt dig.
nicclas är inte uppkopplad   Svara med citatSvara med citat