Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: optimize query for retrieving top bird data
- Updated the SQL query in the GetTopBirdsData function to use MAX(scientific_name) for better accuracy in species reporting. - Improved code readability by separating the query construction from the execution, enhancing maintainability.
- Loading branch information
5323e45
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to have solved the reported issue.