input: from typing import List, Any
  
  
  def create_table_of_contents_html_page(database_data: List[dict]) -> str:
      """ Given a list of dictionaries representing the data stored in a database, 
      generate an HTML page that displays a table of contents. The HTML page should 
      include a table where each row represents an item from the database data. The 
      table should have columns for each key in the dictionaries.
      
      >>> create_table_of_contents_html_page([{'id': 1, 'title': 'Introduction', 'page': 10}, {'id': 2, 'title': 'Methods', 'page': 20}])
      '<html><body><table><tr><th>id</th><th>title</th><th>page</th></tr><tr><td>1</td><td>Introduction</td><td>10</td></tr><tr><td>2</td><td>Methods</td><td>20</td></tr></table></body></html>'
      """
output:     html_content = "<html><body><table>"
      if database_data:
          headers = database_data[0].keys()
          html_content += "<tr>" + "".join(f"<th>{header}</th>" for header in headers) + "</tr>"
          for item in database_data:
              html_content += "<tr>" + "".join(f"<td>{item[header]}</td>" for header in headers) + "</tr>"
      html_content += "</table></body></html>"
      return html_content