Replace this line with your code. 

IN the 2.Count

The code"SELECT price, COUNT(*) FROM fake_apps
GROUP BY price;"

Why used COUNT(*) not COUNT(price)?


With count(*) you are counting the rows indifferent of the Value

With count(price) you must know that the count aggregate only counts the non-null values

Please read
found with google search
== discussion / opinion ==
sqlite count(*) vs count(column)


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.