moving discipline,demerits,merits,counts over to sql