input: 
  from typing import List, Dict
  
  def create_table_of_contents_page(db_data: List[Dict[str, str]]) -> str:
      """
      Creates an HTML page that displays a table of contents from the data stored in a database.
  
      >>> create_table_of_contents_page([{'title': 'Chapter 1', 'page': '10'}, {'title': 'Chapter 2', 'page': '20'}])
      '<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul><li>Chapter 1 - 10</li><li>Chapter 2 - 20</li></ul></body></html>'
      >>> create_table_of_contents_page([{'title': 'Introduction'}, {'title': 'Conclusion'}])
      '<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul><li>Introduction</li><li>Conclusion</li></ul></body></html>'
      """
      table_contents = '<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul>'
      for item in db_data:
          page_info = f" - {item['page']}" if 'page' in item else ''
          table_contents += f"<li>{item['title']}{page_info}</li>"
      table_contents += '</ul></body></html>'
      return table_contents
  
output:     table_contents = '<html><head><title>Table of Contents</title></head><body><h1>Table of Contents</h1><ul>'
      for item in db_data:
          page_info = f" - {item['page']}" if 'page' in item else ''
          table_contents += f"<li>{item['title']}{page_info}</li>"
      table_contents += '</ul></body></html>'
      return table_contents