The incident occurred at 1.50pm on a road in front of Ba Ngoi School in tambon Ba Ngoi.
While Majhanuradin Kawe, 20, and Isma-ae Yuso, 18, were returning home on a motorcycle from a non-formal education school in tambon Wang Phaya they were followed by two men on another motorcycle.
The two men opened fire, wounding both of them. They were admitted to Raman Hospital.
Police are trying to establish whether the incident was from a personal conflict or was insurgency-related.