select * from TABLESTATISTICS where tablename='HISTORY' 
