Jump to content

Sql Sütundaki Hücreler Ile Matematiksel Işlem Hk.


crazysert
 Share

Recommended Posts

Merhaba , amsde sqlite3 ile bir proje hazırlıyorum kod bilgim çok az var pro değilim yani :) buradaki birçok çalışmayı inceledim ama incelediklerim arasında sqldeki bir sütundaki verilerin hepsini çağırıp toplayan olmamış herhalde (yani toplama işlemi yüzdesini alma gibi) yada ben görmedim :) bununla ilgili yardım edebilecek bir hayır sever var mıdır acaba ?

Link to comment
Share on other sites

Çok teşekkür ederim Kintaro sütün toplamını o komut veriyor peki yaptırmak istediğim mesela excelde =a1*b1 onun alt satırında =a2*a3 işlemini yaptığımızda o iki hücredeki verinin çarpım sonucunu veriyor. bu işlemi benim hazırlamış olduğum treelistteki sql den çekmiş olduğum tablodaki veriler üzerinde nasıl işlem yaptırabilirim ?

Link to comment
Share on other sites

  • Editor
select ( (kolon1 * kolon2) + kolon3 ) / kolon4 as 'TOPLAM' from tabloismi

gibi kullanabilirsiniz. Parantez içleri öncelikli oldugu için öncelikli olaran parantezler kullanmalısınız.

Edited by pairs
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...