NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
You assume... (Score:1)
SQL is not about reducing redundancy.
SQL is about offloading work related to data storage retrieval to a dedicated machine.
Should I have to implement my own grouping code in every single application?
Reply to This
Re: (Score:2)
Should I have to implement my own grouping code in every single application?
No, I think his basic idea is that the database should be able to deduce the
GROUP BYclause from the rest of the statement. Now, a database complains if you output a column that isn't in an aggregate function, or in the GROUP BY clause. Instead, it could implicitly add the column to the GROUP BY clause.I don't think that overall it would save much typing. And having to be explicit has its advantages, in cases the SQL statement implies a different grouping than what you had in mind.