sedang Berlangsung

Javascript function

Hi there!

I need help creating an javascript function that returns the highest average from a table with two columns, datum (stores dates in format 2011-05-04) , mar (stores integers with values 1-10).

The function needs to be able to return the the name of the weekday with the highest average.

The program should later on be able to announce "Your best days are mondays"

The db-loop as it looks today.

function getstatistics(see) {

var db3 = [url removed, login to view]('[url removed, login to view]','mar');

var strsql = 'SELECT datum, mar FROM mar order by Datum Asc';

var mittRS2 = [url removed, login to view](strsql);

while ([url removed, login to view]()) {

count=count +1;

//insert solution here

[url removed, login to view]();

}

[url removed, login to view]();

Should be simple for anyone familiar with javascript.

Need it fast.

Keahlian Javascript, SQL

Lihat lebih lanjut: today in javascript, javascript today, asc it, TI, Sqlite, help with javascript, function, sql javascript, database javascript, javascript order function, database sqlite program, database sqlite, function order, sql select order, loop table, table javascript, average function, simple javascript program, javascript need, sqlite sql, pntrading, simple javascript database, simple program javascript, function simple database, javascript simple program

Tentang Pemberi kerja:
( 79 ulasan ) Bromma, Sweden

ID Proyek: #1157282

Diberikan kepada:

Vovas

Will easily be done. I am ready to start

$30 USD dalam 1 hari
(0 Ulasan)
1.0

3 freelancer menawar dengan rata-rata $30 untuk pekerjaan ini

jDevAndDesign

please check your pmb

$30 USD dalam 1 hari
(109 Ulasan)
6.7
dagoweb

Hi! I'm ready to start right away. Thanks.

$30 USD dalam 0 hari
(0 Ulasan)
0.0