input: Write a function to retrieve all product names from the "products" table in the "ecommerce_database.db".
  assert get_all_product_names() == ["iPhone 11 Pro", "AirPods Pro"]
output: def get_all_product_names():
      import sqlite3
  
      # Connect to the database
      conn = sqlite3.connect("ecommerce_database.db")
      cursor = conn.cursor()
  
      # Execute the query to retrieve all product names
      cursor.execute("SELECT name FROM products")
      product_names = [row[0] for row in cursor.fetchall()]
  
      # Close the connection
      conn.close()
  
      return product_names