OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Thanks OpenOffice 1.0 or 1.1 + UnixODBC+MyODBC+MySQL group

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base
View previous topic :: View next topic  
Author Message
Alain Dallo
Guest





PostPosted: Fri Nov 21, 2003 7:44 am    Post subject: Thanks OpenOffice 1.0 or 1.1 + UnixODBC+MyODBC+MySQL group Reply with quote

Thank you very much Bilma to your help.

Sum(1) instead of Count(*) is a good workaround to the next problem.

Supposedly, it must group registers by one field and count grouped registers in
the second field, but it just returns the result to the first field and nothing or 0 to the second.
SELECT `PROFESSION`, COUNT( `PROFESSION` ) AS `nb` FROM `cretins` `cretins` GROUP BY `PROFESSION`
Bye.
Alain Dallo
adallo@univ-paris1.fr
Back to top
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Base All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group