CREATE TABLE `sites` ( `id_site` int(3) NOT NULL auto_increment, `name` text NOT NULL, `date` varchar(10) NOT NULL, `id_kat` int(3) NOT NULL, `descr` text NOT NULL, `copis` text NOT NULL, `url` varchar(40) NOT NULL, `status` varchar(1) NOT NULL, PRIMARY KEY (`id_site`) ) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=0 ; CREATE TABLE `cat_category` ( `id_cat` int(3) NOT NULL auto_increment, `name` varchar(40) NOT NULL, PRIMARY KEY (`id_cat`) ) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=cp1251 AUTO_INCREMENT=3 ; INSERT INTO `cat_category` VALUES (1, 'Категория 1'); INSERT INTO `cat_category` VALUES (2, 'Категория 2');