PHP Indonesia - Facebook | PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ | |
 | How to Get into Medical School
A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.  | From our sponsors | | |
[ask] misal ad 10 data : query sya : select *, sum... Oct 10th 2013, 09:35, by Adhie Purwa Sasmita | [ask] misal ad 10 data : query sya : select *, sum(vote) as total from tb_voting nah gimana y supaya cuma ngitung smpe record k 5 atau 7 gitu??
-Trims |
| | LIMIT? WHERE? gak tau sih masudnya apa "smpe record k 5 atau 7" |
| | pake limit juga bisa om |
| | iaa jadi fungsi sum'a ngitung hanya sampe k record yg dtentukan, misal hanya smpe 5 atau smpe 7 ,bgitu mas |
| | jangan maen sum dulu. select dulu datanya sesuai kepengen yg tadi "smpe record k 5 atau 7". kl udah bisa baru pake'in sum. |
| | gmn query'a??
select * from tb_voting limit 5 sum(vote) ?? oh ap d masukin array aj lalu d jumlahin iaa? jadi g main d query |
| | SELECT SUM(anu) FROM (SELECT anu FROM anu LIMIT seanu) AS jumlah
kan udah dibilang, jangan maen sum dulu. select aja dulu datanya. trus kl udah dapet baru pake sum. |
| | SELECT SUM(anu) FROM (SELECT anu FROM anu LIMIT seanu) AS jumlah | | |
|
Tidak ada komentar:
Posting Komentar