input: 
  def select_approved_rows():
      """Select all rows from a table where the 'status' is 'approved'.
      Example:
      selected_rows = select_approved_rows()
      for row in selected_rows:
          print(row)
      Output:
      (1, 'approved', 'John Doe', 12345)
      (2, 'approved', 'Jane Smith', 67890)
      """
      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()