sql select where more than one record exists

Solutions on MaxInterview for sql select where more than one record exists by the best coders in the world