Click here to Skip to main content
15,914,419 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a table with some columns(user ID, Count1, DateAdded). All I need is a query to get the time difference between uodates in Count1.
For example: When Count 1 is changed from 10 to 11 I need to get the time of particular change and to find the difference from the current time.
help plz.
thanks in advance/
Posted
Comments
CHill60 22-Dec-15 3:31am    
What have you tried?
How are you recording updates to data in your database?
Michael_Davies 22-Dec-15 4:20am    
Lots of stuff on Google for this, try http://stackoverflow.com/questions/11274892/measuring-actual-mysql-query-time
Naveen.Sanagasetti 22-Dec-15 4:22am    
Question not clear, need more details...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900