Group divisions by sport_id

main
sudoer777 2021-11-22 15:38:20 -07:00
parent 18f840183f
commit 28b11b7266
1 changed files with 2 additions and 1 deletions

View File

@ -61,7 +61,8 @@ async function retrieve(sportID = undefined, gender = undefined) {
else { else {
const query = `SELECT division_id, division_name, gender, sport_id const query = `SELECT division_id, division_name, gender, sport_id
FROM scores.divisions FROM scores.divisions
ORDER BY division_name, ORDER BY sport_id,
division_name,
gender;`; gender;`;
table = await database.executeQuery(query); table = await database.executeQuery(query);
} }