added stats.sql