CREATE TABLE IF NOT EXISTS ipch ( time datetime, status text, ip text ); CREATE TABLE IF NOT EXISTS sts ( test_no integer unsigned primary key auto_increment, server_id tinytext, sponsor tinytext, time datetime, distance float unsigned, ping float unsigned, download float unsigned, upload float unsigned );