Fix best records for Exercises

This commit is contained in:
Brandon Presley 2022-07-08 15:07:38 +12:00
parent b12b41b77e
commit 5527c34488

View File

@ -12,7 +12,7 @@ export default function Exercises() {
const refresh = async () => {
const [result] = await db.executeSql(
`SELECT name, reps, unit, MAX(weight) AS weight
`SELECT name, MAX(reps) as reps, unit, MAX(weight) AS weight
FROM sets
WHERE name LIKE ?
GROUP BY name;`,