Since postmeta contains corresponding data for post; why wordpress has two tables of wp_post and wp_postmeta? why not mixing them to store every data about a post within one single row?
Since postmeta contains corresponding data for post; why wordpress has two tables of wp_post and wp_postmeta? why not mixing them to store every data about a post within one single row?
One reason is because you don't know a priori how many fields of meta a given post will have, since users and plugins both can create additional meta fields for a post, using custom fields and whatnot.
You must log in to post.