Posted by strawberry on 10/02/50 11:48
SELECT brand,SUM(dnote) FROM $table GROUP BY brand; You could probably combine this with the above into a single query. Otherwise do a "SELECT CREATE VIEW" on your first table.
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming