why the posts queried from sql is more than those showed on the page?

Autosaves get stored with post_type=inherit and other objects such as menus are also stored in the posts table.

tech