Aradığınız böyle birşey mi? select count(*) from (select distinct Year(TARIH), Month(TARIH) from tablo1) temp;
Mysql 5.1.32 sürümünde çalıştırdım. 09 Mayıs 2011 15:12 tarihinde Nuri AKMAN <[email protected]> yazdı: > Şu şekilde denedim. Yine olmadı... > > select COUNT ( distinct ( month( TARIH ) ) ) from TABLO1 > > Selamlar, > Nuri Akman > > > > 2011/5/9 serdar güler <[email protected]> > >> Merhaba, >> >> Aşağıdaki sql i kullanabilirsiniz. >> >> select COUNT (distinct (date_format(BELGE_TARIH,';%m' ) + 0 ) ) from >> TABLO1 >> >> 2011/5/9 <[email protected]> >> >> Mailiniz bana ulaştı. En kısa zamanda geri döneceğim. >>> >>> --------- >>> Saygılarımla >>> Burak Maleri >>> >>> >>> _______________________________________________ >>> Linux-programlama mailing list >>> [email protected] >>> https://liste.linux.org.tr/mailman/listinfo/linux-programlama >>> Liste kurallari: http://liste.linux.org.tr/kurallar.php >>> >> >> >> >> -- >> Serdar Güler >> www.akilsayar.com >> www.bisoft.com.tr >> >> >> >> >> _______________________________________________ >> Linux-programlama mailing list >> [email protected] >> https://liste.linux.org.tr/mailman/listinfo/linux-programlama >> Liste kurallari: http://liste.linux.org.tr/kurallar.php >> >> > > _______________________________________________ > Linux-programlama mailing list > [email protected] > https://liste.linux.org.tr/mailman/listinfo/linux-programlama > Liste kurallari: http://liste.linux.org.tr/kurallar.php > >
_______________________________________________ Linux-programlama mailing list [email protected] https://liste.linux.org.tr/mailman/listinfo/linux-programlama Liste kurallari: http://liste.linux.org.tr/kurallar.php
