How can I make tables like in the NPC villages?
In the NPC villages, you can see tables in some of the houses.
How can I create those tables?
Tables can be made by using a single fence post and then placing a pressure plate on top of it.
Craft the fence like so:
And now the pressure plate:
And here is what it should look like:
(source: minecraftwiki.net)
I believe that they can be created by placing a single fence post with a wooden pressure plate on top.