I got the table looks like this, and user devices will send data back to the database, and I want to make a sql tool to check user update rate:
table:
username id current_state speed and.......
me 01 online 5 m/s xxxxx
for example, when user's devices are online, the current_state will turn to online, and how to use the query to make a summary about how many user's information changed in a given day.
Thanks