by kraada » Thu Sep 20, 2012 10:22 am
The cache is updated every hand.
Built in stats are made out of columns which you can see via the Configure -> Statistics window. Those columns are what are stored in the cache.
Assuming you're not worried about any specific kind of data (e.g. specific positions), something like:
select sum(column_1), sum(column_2) from tourney_cache where id_player = X;
will get you that column value from the cache for that player. You can find a player's id value with this query:
select id_player from player where player_name = 'Player Name';
Replaying Player Name with the name you want (but keep the quotes). You can even embed this if you want to create:
select sum(column_1), sum(column_2) from tourney_cache where id_player = (select id_player from player where player_name = 'Player Name');