"code" is a list of known number that range from 0 to 13. The sql output is stored in a 2-dimension array (just like a table). I need to do two things: 1) get the number of occurrences of each code 2) get the top 5 username/userid pair for each of these code For 1, I can use the array row index (0 to 13) representing the code, then use column 0 as the counter. But how can I achieve point 2? Thanks."select code, username, userid from transactions"
In reply to Counting events and getting top 5 matches by iphony
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |