7
Yeah this shouldn't be too big a deal. I'd suggest researching it stand alone first. Even with Access/ODBC (the horror...) you can develop some queries that work. Then do a module for the X once you have it worked out. Same for other stats, do it stand alone first.
Hint if you must use Windoze...: MySQL_ODBC + Access + Link Tables == access to the database outside of Xoops.
Or the SQL window in phpAdmin (better). Or command line MySQL (best).