Create tables ? Yes.
There are two parts to each table.
First is the creation:
DROP TABLE IF EXISTS
wp_categories;
CREATE TABLE
wp_categories (
cat_ID bigint(20) NOT NULL auto_increment,
cat_name varchar(55) NOT NULL default '',
category_nicename varchar(200) NOT NULL default '',
category_description longtext NOT NULL,
category_parent int(4) NOT NULL default '0',
PRIMARY KEY (
cat_ID),
UNIQUE KEY
cat_name (
cat_name),
KEY
category_nicename (
category_nicename)
) TYPE=MyISAM AUTO_INCREMENT=6 ;
Pasting that tells the db what to make and how to make it.
In the sql dump straight after that, will be the categories:
INSERT INTO
wp_categories (
cat_ID,
cat_name,
category_nicename,
category_description,
category_parent) VALUES (1, 'General', 'general', '', 0);
INSERT INTO
wp_categories (
cat_ID,
cat_name,
category_nicename,
category_description,
category_parent) VALUES (2, 'Work', 'work', '', 0);
INSERT INTO
wp_categories (
cat_ID,
cat_name,
category_nicename,
category_description,
category_parent) VALUES (3, 'Thinking', 'thinking', '', 0);
INSERT INTO
wp_categories (
cat_ID,
cat_name,
category_nicename,
category_description,
category_parent) VALUES (5, 'Good Stuff', 'good-stuff', '', 0);
It’s generally a small table, so it’s no problem.
INSERT INTO
wp_categories (
cat_ID,
cat_name,
category_nicename,
category_description,
category_parent) VALUES (5, 'Good Stuff', 'good-stuff', '', 0);
Is a complete statement. It tells the db where and how to use the data.
INSERT INTO wp_categories
(cat_ID
, cat_name
, category_nicename
,
is a broken statement and would create an error.
————————
You can certainly copy/paste/save each section as I have outlined above.
So long as each section starts with the INSERT INTO and finishes correctly (usually with the ; character) then it doesn’t even have to be complete and diferent sections.
You very probably do not need to import ANY spam lists, blacklists, stats or such – though if you don’t, forget the plugins too.