MySQL Forums
Forum List  »  German

leere tabellenspalten nicht anzeigen in mysql
Posted by: drazen mmm
Date: January 06, 2009 04:16AM

hallo

habe eine Problem bei der Abfrage der Mysql DAtabase.

Meine Tabelle

profilevalue_9 (tabellenneme)

hamburg (user einträge)

berlin

hamburg (user einträge)

-------- (die ist eine leere Spalte wo der User nix eingtragen wollte)

hh (user einträge)

das ist meine mysql tabellenspalte .

Soweit so gut

jetzt kommt meine Abfrage

$res2="SELECT profilevalue_9, COUNT(profilevalue_9) as cou2 FROM se_profilevalues GROUP BY profilevalue_9 order by cou2 desc";

diese funktioniert super nur gibt er mir natürlich auch die leeren spalten aus wo der user

nichts eingetragen hat.

Das will ich natürlich nicht.

Ich habe vieles probiert aber nichts klappt hat jemand eine Lösung ?

Options: ReplyQuote


Subject
Views
Written By
Posted
leere tabellenspalten nicht anzeigen in mysql
5040
January 06, 2009 04:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.