DROP TABLE IF EXISTS `system_accounts`,
 `powercounter_arch_clients`,
 `powercounter_arch_clients_month`,
 `powercounter_arch_clients_week`,
 `powercounter_arch_deep`,
 `powercounter_arch_deep_month`,
 `powercounter_arch_deep_week`,
 `powercounter_arch_enterpoint`,
 `powercounter_arch_enterpoint_month`,
 `powercounter_arch_enterpoint_week`,
 `powercounter_arch_hits`,
 `powercounter_arch_hits_month`,
 `powercounter_arch_hits_week`,
 `powercounter_arch_ip`,
 `powercounter_arch_ip_month`,
 `powercounter_arch_ip_week`,
 `powercounter_arch_num_searchquery`,
 `powercounter_arch_num_searchquery_month`,
 `powercounter_arch_num_searchquery_week`,
 `powercounter_arch_refferer`,
 `powercounter_arch_refferer_month`,
 `powercounter_arch_refferer_week`,
 `powercounter_arch_robots`,
 `powercounter_arch_robots_month`,
 `powercounter_arch_robots_week`,
 `powercounter_arch_searchquery`,
 `powercounter_arch_searchquery_month`,
 `powercounter_arch_searchquery_week`,
 `powercounter_arch_time`,
 `powercounter_arch_time_month`,
 `powercounter_arch_time_temp`,
 `powercounter_arch_time_week`,
 `powercounter_cities`,
 `powercounter_ip`,
 `powercounter_ip_compact`,
 `powercounter_pages`,
 `powercounter_refferer`,
 `powercounter_regions`,
 `powercounter_searchquerys`,
 `powercounter_thits`,
 `powercounter_links`;

CREATE TABLE tbl_clear(
                         cl_id int(5) unsigned NOT NULL auto_increment primary key,
                         col_tbl_name varchar(255),
                         col_name varchar(255),
                         by_data int(20),
                         by_count int(20)
                         )TYPE=MyISAM
                         CHARACTER SET utf8;
FLUSH PRIVILEGES;