This statement is complete oversimplification.
The SQL Engine uses the same internal operations as a the CE engine and depending on the scenario either the one or the other will yield better performance.
System performance is not a simple thing for complex systems and many disappointments in projects stem from such a too simplistic view on the matter.