sql aggregates and group by
When you select an aggregate (such as count (*), ) you also need to do a group by on the results. Select a.Name,count(b.title) as NumberOfBooks from AUTHOR a…
Read more →When you select an aggregate (such as count (*), ) you also need to do a group by on the results. Select a.Name,count(b.title) as NumberOfBooks from AUTHOR a…
Read more →