Mailinglisten-Archive |
Hi Robert, Mach mal das: Select t1.*, if(t2.DATE_ = t3.DATE_, '',t2.DATE_) as Datum, t2.irgendwas,[...,...] from $table[films] as t1 left Join $table[dates] AS t2 on t1.Film_ID = t2.Film_ID && MONTH(t2.Date_)='4' && YEAR(t2.Date_)='2003' left Join $table[dates] as t3 on t2.Film_ID > t3.Film_ID AND t2.DATE_ = t3.DATE_ group by t2.Film_ID Order by t2.DATE_, t2.Film_ID MfG Wolfgang -- Infos zur Mailingliste, zur Teilnahme und zum An- und Abmelden unter -->> http://www.4t2.com/mysql
php::bar PHP Wiki - Listenarchive