The database query for reading all records from the database is as follows:
query = 'SELECT * FROM contacts ORDER BY name desc'
phone_book_entries = self.execute_db_query(query)
The preceding variable, phone_book_entries, contains a list of all the records from the database.