input: Write a function to select all rows from a table where the 'status' is 'approved'.
  assert select_approved_rows() == [(1, 'approved'), (3, 'approved')]
output: def select_approved_rows(table):
      return [row for row in table if row[1] == 'approved']