SQL count(): The Most Popular Cake

This post contiues the SQL tutorial on the Shire Bakery. Here we’ll So how do yo find the most popular cake in the Shire Bakery? Here’s an idea. — Show the best cookie — See: Ben Forta Chap. 16 SELECT COUNT( cakes.cake ) AS ‘popular’, cakes.cake, costumers.who FROM cakes, costumers, likes — sort out the […]