input: 
  from typing import List, Dict
  
  
  def display_table_of_contents(database_data: List[Dict[str, str]]) -> str:
      """
      Generates a HTML page that displays a table of contents from the data stored in a database.
      The function takes a list of dictionaries where each dictionary represents a row in the database.
      Each dictionary contains keys such as 'title' and 'link' which correspond to the table's data.
      
      >>> display_table_of_contents([{'title': 'Introduction', 'link': '#int'}, {'title': 'Part 1', 'link': '#p1'}])
      '<ul><li><a href="#int">Introduction</a></li><li><a href="#p1">Part 1</a></li></ul>'
      """
      html_output = '<ul>'
      for row in database_data:
          html_output += f"<li><a href=\"{row['link']}\">{row['title']}</a></li>"
      html_output += '</ul>'
      return html_output
  
output:     html_output = '<ul>'
      for row in database_data:
          html_output += f"<li><a href=\"{row['link']}\">{row['title']}</a></li>"
      html_output += '</ul>'
      return html_output