In Progress

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.

Skills: Javascript, SQL

See more: 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

About the Employer:
( 79 reviews ) Bromma, Sweden

Project ID: #1157282

Awarded to:

Vovas

Will easily be done. I am ready to start

$30 USD in 1 day
(0 Reviews)
1.0

3 freelancers are bidding on average $30 for this job

jDevAndDesign

please check your pmb

$30 USD in 1 day
(109 Reviews)
6.7
dagoweb

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

$30 USD in 0 days
(0 Reviews)
0.0