how to put a title at the top of table

How do I add a title to the top of a table?

Depending on your needs, you can either use a caption or merge the cells on the first row