Hands On SQL

Page 27: MIN/MAX, COUNT, and DISTINCT

Use MAX to find the largest value in a column, then try MIN (page 268):

...
Use COUNT to find out which girl sold cookies on more days than any other (page 269):

...
Now, use DISTINCT to get a list of the actual days cookies were sold, without duplicates (page 271), then try it yourself with the COUNT function:

...

< Previous Page

Next Page >