When I use that SQL statement, it complains and seems to be waiting for me to pass in a value for Total.

Any ideas?