Retrieve seasons in descending order

main
sudoer777 2021-11-21 15:53:58 -07:00
parent c0ab9d4581
commit 07c4d9b622
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ async function remove(id) {
async function retrieveAll() { async function retrieveAll() {
const query = `SELECT * const query = `SELECT *
FROM scores.seasons FROM scores.seasons
ORDER BY school_year;`; ORDER BY school_year DESC;`;
const table = await database.executeQuery(query); const table = await database.executeQuery(query);
const seasonsList = []; const seasonsList = [];