input: from typing import List
  
  def select_approved_rows(table_name: str) -> List[tuple]:
      """
      Select all rows from a given table where the 'status' is 'approved'.
      >>> select_approved_rows('example_table')
      [('row1_data', 'approved'), ('row2_data', 'approved')]
      """
output:     import sqlite3
      conn = sqlite3.connect(':memory:')
      cursor = conn.cursor()
      cursor.execute(f"CREATE TABLE {table_name} (data TEXT, status TEXT)")
      cursor.execute(f"INSERT INTO {table_name} VALUES ('row1_data', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES ('row2_data', 'approved')")
      cursor.execute(f"INSERT INTO {table_name} VALUES ('row3_data', 'pending')")
      cursor.execute(f"SELECT * FROM {table_name} WHERE status = 'approved'")
      approved_rows = cursor.fetchall()
      conn.close()
      return approved_rows