Hallo! Du suchst tats�chlich nur die Anzahl?
select count(distinct O_ID) from OBJEKTBEZIEHUNGEN where KOPF_O_ID = ... Mit "distinct" findest Du die tats�chliche Anzahl der Kinder, also ohne Doppelnennungen. Freundliche Gr��e Joachim van de Bruck ~~~~~~~~~~~~~~~~~~~~~~~~~~~sponsored by United Planet~~~~~~~~~~~~~~~~~ Intrexx.BizWalker + ODBC/OLEDB-Daten = ASP-Formular ATTACK! Download Intrexx CRM-Studio Now! http://www.intrexx.com _______________________________________________ Database.asp mailing list [EMAIL PROTECTED] http://www.glengamoi.com/mailman/listinfo/database.asp
