I'm working a DB design regarding how a user launched something. My idea was to have timestamp (DateTime) column, and a method column (varchar).
This 'method' (varchar) could be anything:
- BUTTON_OK
- BUTTON_X
- APP_Y
- APP_Z
- etc
How can I COUNT the uses but group some values. In this case I want to have my result:
- BUTTONS: 20
- APP_X: 10
- APP_Z: 14