This demo shows the implementation of the query function. The query function allows you to use the wiki as a database.

The query function is a further development of the datatable function. It is closer to the relational algebra model and more expressive than the datatable function.

Differences between SQL and Sofawiki database
Query function syntax
Sofawiki Database Primer

You cannot login into this demo, but you can can do ad hoc search on the Special:Query page.

The data of the following exercices uses the WikiBook SQL Exercises

Query exercises