Just one other tiny point of style here: having given the expression date(solarAWDateTime) the alias uniqueDate, you should probably use that alias to refer to the same thing elsewhere in your query, such as in the GROUP BY column. So:... That's how I'd write it, anyway.
I like to know your thinking; I'm working to learn to 'think in MySQL'.. so every input is appreciated.
thanks! -G -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php