<m.Berakhot 6.2>  

If one says over fruit of the tree the benediction, `who createst the fruit of the ground, he has performed his obligation. But if he said over produce of the ground, `who createst the fruit of the tree`, he has not performed his obligation. If he says `By whose word all things exist over any of them, he has performed his obligation.

(Purchase a printed Mishnah)