hi,
i required some help from you....
i have 2 tables,
1.usertable with columns (userid,username,usertype)
here we can give usertype=employee or customer,if it is employee in uerdetails table i need to update emp count = 1,
include with this i need to update this records to all previous registered user records...like a chain system
2.userdetails table with columns(userid,userscount,emp.count,cust.count)
here,main thing is if iam a new registered user,then all particular counts should be updated to previous registered users.