вот у меня есть такая база в ней 2 таблицы
CREATE TABLE news (
news_id INTEGER PRIMARY KEY NOT NULL,
news_title varchar(100) NOT NULL,
news_text TEXT NOT NULL,
news_author varchar(20) NOT NULL,
news_time INTEGER UNSIGNED NOT NULL,
news_comments INTEGER UNSIGNED NOT NULL DEFAULT '0'
);
CREATE INDEX index_news_id ON news (news_id);
CREATE TABLE comments (
comments_id INTEGER PRIMARY KEY NOT NULL,
comments_news_id INTEGER UNSIGNED NOT NULL,
comments_text TEXT NOT NULL,
comments_author varchar(20) NOT NULL,
comments_time INTEGER UNSIGNED NOT NULL,
comments_ip varchar(20) NOT NULL,
comments_brow varchar(25) NOT NULL
);