Implemented second SQL query - retrieveOverview()