Tek satırlık SQL sorgusu ile sonucu alabilirsiniz, 1 saat içinde cevap gelmezse yazarım konuya hocam müsait olunca.