input: from typing import List
  
  def select_approved_rows(table_name: str) -> List[tuple]:
      """
      Create a Python function to select all rows from a table where the 'status' is 'approved'
      >>> select_approved_rows('users')
      [(1, 'John Doe', 'approved'), (2, 'Jane Smith', 'approved')]
      >>> select_approved_rows('orders')
      [(101, 'item1', 'approved'), (102, 'item2', 'approved')]
      """
output:     import sqlite3
      conn = sqlite3.connect(':memory:')
      cursor = conn.cursor()
      cursor.execute(f"CREATE TABLE {table_name} (id INTEGER, name TEXT, status TEXT)")
      cursor.execute(f"INSERT INTO {table_name} VALUES (1, 'John Doe', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES (2, 'Jane Smith', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES (3, 'Alice Johnson', 'pending')")
      cursor.execute(f"INSERT INTO {table_name} VALUES (101, 'item1', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES (102, 'item2', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES (103, 'item3', 'pending')")
      cursor.execute(f"SELECT * FROM {table_name} WHERE status = 'approved'")
      approved_rows = cursor.fetchall()
      conn.close()
      return approved_rows