input: def select_approved_rows():
      """ Create a Python function to select all rows from a table where the 'status' is 'approved'
      >>> select_approved_rows()
      # Assuming 'table' contains rows where status is 'approved', it will return all such rows.
      """
output:     table = [
          {'id': 1, 'status': 'approved'},
          {'id': 2, 'status': 'pending'},
          {'id': 3, 'status': 'approved'},
          {'id': 4, 'status': 'rejected'},
      ]
      return [row for row in table if row['status'] == 'approved']