Scotland (also Wales and Northern Ireland) did compete in the beijing Olympic Games. They competed under "The United Kingdom" rather than their individual countries, because they are all from the same "piece of land" which is known as "The united Kingdom". (Even this title is shortened)