input: def create_html_table_of_contents(database_data) -> str:
      """ Create an HTML page that displays a table of contents from the data stored in a database.
      The function should return the HTML as a string.
      Example:
      database_data = [
          {"chapter": "Introduction", "page": 1},
          {"chapter": "Methods", "page": 5},
          {"chapter": "Conclusion", "page": 10}
      ]
      Output:
      "<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul><li>Introduction - Page 1</li><li>Methods - Page 5</li><li>Conclusion - Page 10</li></ul></body></html>"
      """
output:     html_content = "<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul>"
      for entry in database_data:
          html_content += f"<li>{entry['chapter']} - Page {entry['page']}</li>"
      html_content += "</ul></body></html>"
      return html_content