> Also, worum geht�s: > Ich hab eine tabelle "antworten" (es geht um fragebogenauswertungen). > > ID_USER ID_FRAGE Antwort > 1 1 1 > 1 2 2 > 2 1 1 > 2 2 3 > 3 1 1 > 3 2 2 > > > F�r eine kreuztabelle m�chte ich jetzt beispielsweise auswerten: > "wie viele user haben frage1 mit '1' beantwortet UND frage2 mit '2' > beantwortet?" >
Select ID_FRAGE, Antwort, COUNT(*) as anzahl from tabelle group by ID_FRAGE, Antwort Claudius ~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~ Kaffeepause im United Planet Communityserver ... http://www.intrexx.com/communityserver _______________________________________________ Coffeehouse mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/coffeehouse
