Return the total number of apps that are free?


#1

<Below this line, add a link to the EXACT exercise that you are stuck at.>
11. Return the total number of apps that are free.

I don’t seem to be able to work this one out, I’ve tried the example below and many other variations and it just doesn’t show what it’s meant to, could you help me out?

SELECT name, price, SUM(name) FROM fake_apps
WHERE price = 0;

Thanks!


#2

SELECT COUNT(*) FROM fake_apps WHERE price = 0
;