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.

Habilidades: JavaScript, SQL

Veja mais: 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

Acerca do Empregador:
( 79 comentários ) Bromma, Sweden

ID do Projeto: #1157282

Concedido a:


Will easily be done. I am ready to start

$30 USD em 1 dia
(0 Comentários)

3 freelancers estão ofertando em média $30 nesse trabalho


please check your pmb

$30 USD em 1 dia
(109 Comentários)

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

$30 USD in 0 dias
(0 Comentários)