input: def select_approved_rows():
      """Select all rows from a table where the 'status' is 'approved' and return the results.
      Example:
      Assume a table named 'transactions' with rows:
      | id | amount | status    |
      |----|--------|-----------|
      | 1  | 100    | approved  |
      | 2  | 200    | pending   |
      | 3  | 300    | approved  |
      
      >>> select_approved_rows()
      [(1, 100, 'approved'), (3, 300, 'approved')]
      """
output:     rows = [
          (1, 100, 'approved'),
          (2, 200, 'pending'),
          (3, 300, 'approved')
      ]
      approved_rows = [row for row in rows if row[2] == 'approved']
      return approved_rows