input: Write a function to select all rows from a table where the 'status' is 'approved'. If the table is empty, then return an empty list.
  assert select_approved_rows([{"status": "approved"}, {"status": "pending"}, {"status": "approved"}])==[{"status": "approved"}, {"status": "approved"}]
  assert select_approved_rows([{"status": "pending"}, {"status": "rejected"}])==[]
  assert select_approved_rows([])==[]
output: def select_approved_rows(table):
      return [row for row in table if row.get('status') == 'approved']