I want to give number to occurrence in sql result
for example I have table like this:
ID| Name | Login Date
1 |John | 12/1/2013
2 |John | 15/1/2013
3 |Ben | 12/2/2013
Now I want additional column to know what times they log in:
ID| Name | Visit times
1 |John |1
2 |John |2
3 |Ben |1
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…