a simple front-end like heidisql can import csv
they made the script for you. alot prettier and easier to read.
you can make any query/rport you wish with sql. they probably give enough info to extrapolate most statistics out there, if not included in the game.