There are three columns of cost, participant, single_cost and wants to write SQL to classify the value that divided cost by participant into single_cost. I work to leave it off when decimal fraction appeared, and I can enter, but I say, and would knowing a method teach a value on this occasion? Each column is int type. Thanking you in advance.
ex At the time of cost = 15000, participant = 7, I become single_cost = 2,142.8, but register myself with a database for 2143.