[Linux-programlama] Re: SQL Sorgusu (Birden Çok Alaný Ýþleyip Where ile Sorgulamak )

---------

[Linux-programlama] Re: SQL Sorgusu (Birden Çok Alaný Ýþleyip Where ile Sorgulamak )

From: Adem Alp YILDIZ <ademalp_at_gmail.com>
Date: Wed, 16 Apr 2008 15:27:52 +0300
Message-ID: <c833ab2b0804160527x7a23b2dbx6e503d27bb938b1f@mail.gmail.com>

select id, (a+b+c) as toplam, a, b, c from sil having toplam > 5

kendime not: alias ile where kullanma :-D

2008/4/16 Adem Alp YILDIZ <ademalp_at_gmail.com>:

> sum(a+b+c) tüm tablonun toplamýný verir. Arkadaþýn istediði bir kayýtta
> olan alanlarýn toplamý.
>
> select (a+b+c) as toplam from sil where toplam > 5
>
> gibi bir sorgu iþini görür.
>
> Ýyi Çalýþmalar
> A.
>
> 2008/4/16 Tuncay BAÞ <tuncay_at_bir.net.tr>:
>
> > select a,b,c,SUM(a+b+c) as toplam from table_name where toplam >5000
> > order
> > by toplam desc
> >
> > olabilir mesala
> >
> >
> >
>

_______________________________________________
Linux-programlama mailing list
Linux-programlama_at_liste.linux.org.tr
http://liste.linux.org.tr/mailman/listinfo/linux-programlama
Received on Wed 16 Apr 2008 - 14:41:53 EEST

---------

Bu arsiv hypermail 2.2.0 tarafindan uretilmistir.