phpbar.de logo

Mailinglisten-Archive

AW: [php] group by soll duplikate finden

AW: [php] group by soll duplikate finden

php_(at)_phpcenter.de php_(at)_phpcenter.de
Tue, 24 Sep 2002 13:17:46 +0200


> >SELECT *,COUNT(id) AS num_items
> >FROM main
> >WHERE num_items > 1
> >GROUP BY song_length DESC

probiers mal hiermit:

select *,count(id) as num_items from main group by song_length having
num_items > 1


php::bar PHP Wiki   -   Listenarchive