There are different ways of combining datasets in Stata, of which merge and append are the most useful ones. This is an illustration of the differences between these commands (A and B denote different datasets):

There are different ways of combining datasets in Stata, of which merge and append are the most useful ones. This is an illustration of the differences between these commands (A and B denote different datasets):
