input: 
  def create_table_of_contents(data: List[Tuple]) -> str:
      """ Create an HTML page with a table of contents from the data stored in a database.
      The function should query the database to retrieve relevant data and generate an HTML 
      page displaying the table of contents.
      
      Example:
      >>> data = [("Chapter 1", "Introduction"), ("Chapter 2", "Methods")]
      >>> create_table_of_contents(data)
      """
  
output:     html_content = "<html><body><h1>Table of Contents</h1><ul>"
      for item in data:
          html_content += f"<li><a href='#'>{item[0]}: {item[1]}</a></li>"
      html_content += "</ul></body></html>"
      return html_content