
The core is based on 11 database tables:
- $wpdb->posts - basic posts, pages and other post types info;
- $wpdb->postmeta - extra posts, pages and other post types info;
- $wpdb->comments - basic comments info;
- $wpdb->commentmeta - extra comments info;
- $wpdb->links - links info;
- $wpdb->options - options info;
- $wpdb->users - basic user info;
- $wpdb->usermeta - extra user info;
- $wpdb->terms - categories and tags
- $wpdb->term_relationships - relationship between posts and categories or tags;
- $wpdb->term_taxonomy - relationship for categories or tags;
All table names is the concatination of WordPress table prefix and table name (for example: "wp_posts"). WordPress table prefix ($wpdb->prefix) is "wp_" by default. You can change it in "wp-config.php" if you want to intall more than one WordPress site on the same database.
Working with database in WordPress.