input: def select_approved_rows():
      """Select all rows from a table where the 'status' is 'approved'.
      Returns a list of rows that meet the criteria.
      >>> # Assuming the following table structure and data:
      >>> # table: id | name  | status
      >>> #         1  | 'Bob' | 'approved'
      >>> #         2  | 'Sue' | 'pending'
      >>> #         3  | 'Joe' | 'approved'
      >>> select_approved_rows()
      [(1, 'Bob', 'approved'), (3, 'Joe', 'approved')]
      """
      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()