You can use an "AS" clause to help there:
SELECT code, sum(number) AS number FROM surname_26 group by code
-- Randal L. Schwartz, Perl hacker
Be sure to read my standard disclaimer if this is a reply.
In reply to •Re: using fetchrow_hashref
by merlyn
in thread using fetchrow_hashref
by Baz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |