I’m trying to return all rows and get an average of Weight*Reps as volume while distinct on logdate and exercise_name ordering by logdate where ownerid is in GET and table1=’exercises’. I’m coding in php, odbc connection to access.
Table is as follows:
ID(unique) Weight(number) Reps(number) Setname(number) logdate(date) Ownerid(number) exercise_name(text) table(text)
I know this is a complex SQL statement so I’m just going to embarrass myself to even attempt this thing.
Any and all help is extremely appreciated.
1 Answer