Hoặc
Mary was the only student absent from class.
Apart from Mary every students was present in class.