To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=56293


User dtinazzi changed the following:

                  What    |Old value                 |New value
================================================================================
                    Status|CLOSED                    |UNCONFIRMED
--------------------------------------------------------------------------------
                Resolution|INVALID                   |
--------------------------------------------------------------------------------




------- Additional comments from [EMAIL PROTECTED] Mon Oct 24 07:45:45 -0700 
2005 -------
Hi Marc,

I use some db servers and I can, in certain circumstances, use aggregate
functions with text fields; for example, if I have a table like this:

-----------------
Field1  | Field2 |
-----------------
John    |  aaa   |
John    |  bbb   |
Jim     |  ccc   |
Jim     |  ddd   |
-----------------

And I run the query:

SELECT FIELD1, COUNT(FIELD2) AS NUM FROM TABLE1 GROUP BY FIELD1

I obtain:

-----------------
Field1  |  NUM   |
-----------------
John    |   2    |
Jim     |   2    |
-----------------

Another:

SELECT FIELD1, MIN(FIELD2) AS MINDESC FROM TABLE1 GROUP BY FIELD1

The result is:

------------------
Field1  | MINDESC |
------------------
John    |   aaa   |
Jim     |   ccc   |
------------------

The results you see don't change if I attach those databases to OpenOffice Base;
I can write directly the queries you see, and when I run I obtain the results
above. So, I think it would be useful to have the possibility to build that
queries via wizard... What do you think about that?

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to