date period rollno attend staff_idno2013-11-13 4 13VE1A0361 P SR0342013-11-13 4 13VE1A0362 P SR034 I want to display data using group by date, period and update then change date or period so its update all rows Plz help me