Kamis, 10 Oktober 2013

PHP Indonesia - Facebook: [ask] misal ad 10 data : query sya : select *, sum...

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

Adhie Purwa Sasmita 9:35am Oct 10
[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

Pika Chaw 9:40am Oct 10
LIMIT? WHERE? gak tau sih masudnya apa "smpe record k 5 atau 7"

Dimas Edubuntu Samid 9:42am Oct 10
pake limit juga bisa om

Adhie Purwa Sasmita 9:45am Oct 10
iaa jadi fungsi sum'a ngitung hanya sampe k record yg dtentukan, misal hanya smpe 5 atau smpe 7 ,bgitu mas

Pika Chaw 9:46am Oct 10
jangan maen sum dulu. select dulu datanya sesuai kepengen yg tadi "smpe record k 5 atau 7". kl udah bisa baru pake'in sum.

Adhie Purwa Sasmita 9:49am Oct 10
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

Pika Chaw 10:12am Oct 10
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.

Pika Chaw 10:13am Oct 10
SELECT SUM(anu) FROM (SELECT anu FROM anu LIMIT seanu) AS jumlah

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar