[libreoffice-users] Re: I need help with functions in Base

2015-03-18 Thread Andreas Säger
Am 18.03.2015 um 16:00 schrieb xavier2:
 Hello I'm starting with queries and functions. Right now I know how to tackle
 queries, but I don't know very well how may I use functions on queries. I
 would like to master all functions, so I need examples with functions. The
 problem is I don't know where may I find help with this? *I'd like to see
 samples about these functions*:
 
 Average, Count, Maximum, Minimum, Sum, Every, Any, Some, STDDEV_POP,
 STDDEV_SAMP, VAR_SAMP, VAR_POP, Collect, Fusion, Intersection, Group
 
 Sadly I don't have seen any documentation from LibreOffice explaining every
 function with a sample. Please, could someone give me some examples for
 these functions? I'd like to see them working and what everyone do.
 Cheers
 
 
 

The availlable functions depend on the type database you are connected
to. The bare minimum of functions in the file based databsaes
(spreadsheet, text, dBase) is documented here:
 http://www.openoffice.org/dba/specifications/file_based_functions.html

File based databases support only one aggregation COUNT(*)

The built-in HSQL 1.8 (which should better not be used embedded into the
Base document) is documented here:
 http://www.hsqldb.org/doc/1.8/guide/ch09.html

Any resource on SQL can teach you how to use all these functions
properly, particularly the aggregation funcions together with GROUP.

[Tutorial] Calculations in databases (quick primer)
 https://forum.openoffice.org/en/forum/viewtopic.php?f=83t=26328




-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] Re: I need help with functions in Base

2015-03-18 Thread Andreas Säger
Am 18.03.2015 um 23:10 schrieb xavier2:
 Hi Andreas, thanks for the amazing info you gave me.
 Well, I was not meaning to SQL, because what I want to do right now are
 queries using the gird, the queries window.

The grid (do you mean the design view?) creates an SQL statement as
you can see when you toggle between the design view and SQL view. There
is a toggle option in the menu and on the toolbar. The query designer
does a very bad job. It is almost useless because it can only produce
baby-SQL. Within a weekend you learn much more SQL than that tool will
ever be able to handle. I can demonstrate lots of working queries that
are messed up completely once you load them into the design view.

 I wanted some examples of this, with already created queries.
 Exactly the last link you gave me...
 https://forum.openoffice.org/en/forum/viewtopic.php?f=83t=26328

On the linked forum you find dozends of example files with all kinds of
calculations.

 However, I need a bit more:
 I would need help to understand these functions:
 *STDDEV_POP, STDDEV_SAMP, VAR_SAMP, VAR_POP, Collect, Fusion, Intersection*

STDEV is the standard deviation, VAR stands for VARIATION, POP for a
full population, STDDEV for a sample, I don't know about Collect, Fusion
and Intersection. You might find them in SQL tutorials.


-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted



[libreoffice-users] Re: I need help with functions in Base

2015-03-18 Thread xavier2
Hi Andreas, thanks for the amazing info you gave me.
Well, I was not meaning to SQL, because what I want to do right now are
queries using the gird, the queries window.
I wanted some examples of this, with already created queries.
Exactly the last link you gave me...
https://forum.openoffice.org/en/forum/viewtopic.php?f=83t=26328
Is very useful, because it has queries, created with several functions.
What I am looking for is exactly, that.
However, I need a bit more:
I would need help to understand these functions:
*STDDEV_POP, STDDEV_SAMP, VAR_SAMP, VAR_POP, Collect, Fusion, Intersection*
Those functions are like a mistery. I don't know where may I found
information about what every one of them do exactly.
Could you give me an .odb file with some queries, showing examples for these
functions?
Cheers



--
View this message in context: 
http://nabble.documentfoundation.org/I-need-help-with-functions-in-Base-tp4143633p4143701.html
Sent from the Users mailing list archive at Nabble.com.

-- 
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted