63 lines
1.7 KiB
Plaintext
63 lines
1.7 KiB
Plaintext
This folder contains the following files:
|
|
========================================
|
|
|
|
1. Database 'cebit2006' with objects:
|
|
|
|
Name: aussteller
|
|
Schema: ((Name text)(Ort string)(Halle string)(geoData region)(Stand string))
|
|
Cardinality: 6402
|
|
|
|
Name: aussteller2
|
|
Schema: ((Name text)(Ort string)(Stand string))
|
|
Cardinality: 6416
|
|
|
|
Name: aussteller3
|
|
Schema: ((Name text)(Land string(Ort string)(Halle int)(Stand string)(geoData region))
|
|
Cardinality: 6373
|
|
|
|
Name: hallen
|
|
Schema: ((Name string)(geoData region))
|
|
Cardinality: 33
|
|
|
|
Name: eingaenge
|
|
Schema: ((Name string)(geoData region))
|
|
Cardinality: 12
|
|
|
|
Name: andereobj
|
|
Schema: ((Name string)(geoData region))
|
|
Cardinality: 13
|
|
|
|
2. Categories file: 'cebit2006.cat'
|
|
|
|
3. Session file: 'cebit2006.ses'
|
|
|
|
|
|
How to work with the database:
|
|
=============================
|
|
|
|
Get the database file 'cebit2006' (its in the secondo-data repository)
|
|
and create a database with the same name.
|
|
|
|
Example Query:
|
|
=============
|
|
|
|
1. List all halls where you can find exhibitors from Brazil.
|
|
|
|
2. How many brazilian exhibitors are in each of the halls, that were found ?
|
|
|
|
3. Show these halls graphically in the cebit map.
|
|
|
|
Hence the result should be a relation with schema:
|
|
|
|
((Halle string)(anz int)(geoData region))
|
|
|
|
Possible query (Executable Level):
|
|
|
|
query aussteller3 feed filter [.Land = "BR"] sortby[Halle asc] groupby[Halle; geoData: group feed extract[geoData], anz: group feed count] consume
|
|
|
|
Possible query ignoring condition 3 (SQL):
|
|
|
|
sql select [halle, count(*) as anz] from aussteller3 where land = "BR" groupby halle.
|
|
|
|
The file 'queryresult.png' shows the graphical result of this query.
|