Look at the QML Source for this page
SQL queries will generally return one record per distinct entry - which
means that if you queried a bibliographic database in which authors
had multiple publications, you would typically see one line per
publication, with the author repeated on each line.
A bulleted list of entries for each author is probably more readable,
but difficult to create.
In this page, we've generated the list by sending a
nested database query
for each author to get the appropriate publications:
Written in QML
<ul>
<qml_output sql="select distinct Authors ...">
<li>Author(s): <i>$Authors</i>
<ul>
<qml_output sql="select distinct Title ... where Authors = '$Authors'">
<li>$Title
</qml_output>
</ul>
</qml_output>
</ul>
Not the most efficient query, perhaps, but it gives us the output we want.
Software designed for Biologists