The invention relates to a sliding window and a vehicle. The sliding window comprises a fixed panel; the guide rail is provided with a manual driving groove and an automatic driving groove, and the driving
handle is arranged in the manual driving groove in a sliding mode; a guide support is arranged in the automatic driving groove, at least one
clutch groove is formed in the guide support, and the automatic driving piece is connected with the guide support so as to drive the guide support to slide in the automatic driving groove; the guide rail is connected with the movable panel through a driving
handle; a positioning piece is arranged on the driving
handle, when the positioning piece is located at the first position, the positioning piece is embedded in the
clutch groove, and the movable panel is driven to move through the automatic driving piece; and when the positioning piece is located at the second position, the positioning piece is separated from the
clutch groove, and the movable panel is driven to move by driving the handle. According to the invention, the combination of manual driving and automatic driving of the sliding window is realized, the manual and automatic opening
modes are compatible, and the use experience of a user is improved.