31
3
Query Optimization
and Plan Selection
It is a capital mistake to theorize before one has the data. Insensibly one begins
to twist facts to suit theories, instead of theories to suit facts.
—Sir Arthur Conan Doyle (1859–1930)
f you ever wanted to learn to play the piano, there are many different approaches that
people have tried over the past three centuries. The traditional recommended way is
to sign up with a professional teacher and take lessons one-on-one. Others have tried a
variety of methods of self-instruction, such as using books like Piano for Dummies,
watching videos, or just getting some sheet music and start playing. Regardless of which
method you choose, there is another variable, how to proceed to learn the piece you
want to play: hands ...