input: def select_approved_rows(cur):
      """ Retrieve all rows from a table where the 'status' is 'approved'.
      >>> select_approved_rows(cur)
      [('record1', 'approved'), ('record2', 'approved')]
      """
output:     cur.execute("SELECT * FROM table_name WHERE status = 'approved'")
      return cur.fetchall()