input: from typing import List
  
  
  def select_approved_rows(cur) -> List:
      """Select all rows from a table where the 'status' is 'approved'.
      >>> select_approved_rows(cur)
      [(1, 'John', 'approved', '2023-01-01'), (2, 'Jane', 'approved', '2023-01-02')]
      """
      sql = "SELECT * FROM table WHERE status = 'approved'"
      cur.execute(sql)
      return cur.fetchall()
output:     sql = "SELECT * FROM table WHERE status = 'approved'"
      cur.execute(sql)
      return cur.fetchall()