@prefix this: . @prefix sub: . @prefix schema: . @prefix gen: . @prefix np: . @prefix dct: . @prefix nt: . @prefix npx: . @prefix xsd: . @prefix rdfs: . @prefix prov: . sub:Head { this: a np:Nanopublication; np:hasAssertion sub:assertion; np:hasProvenance sub:provenance; np:hasPublicationInfo sub:pubinfo . } sub:assertion { sub:paragraph a gen:Paragraph; schema:about ; schema:title "Grouping rows"; gen:hasContent """

A result column whose variable name ends in \"_group\" is not shown as a column. Instead the table gets a heading row wherever that column's value changes from one row to the next, so the query's order by decides the groups and their order. Clicking a column header then sorts the rows within each group and leaves the groups in place.

Give every row of a group exactly the same value, and make it read well on its own, since it becomes the heading. Nanodash supports this from version 5.17; older versions show the column as an ordinary one.

"""; gen:hasPositionString "10.5" . } sub:provenance { sub:assertion prov:wasAttributedTo . } sub:pubinfo { this: dct:created "2026-11-18T12:45:49.243+01:00"^^xsd:dateTime; dct:creator ; dct:license ; npx:introduces sub:paragraph; rdfs:label "Grouping rows"; nt:wasCreatedFromProvenanceTemplate ; nt:wasCreatedFromPubinfoTemplate , ; nt:wasCreatedFromTemplate . sub:sig npx:hasAlgorithm "RSA"; npx:hasPublicKey "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAl8cMusqtNyKA6UIsi3f7BAcZmHQXWxU0qk0PLsboMWQxYrGBfGgHTgRHJrBRxL+Zn9kJHKVmz2smDcjCBptXi/OwWy80gjsx+Pbe6IWz3zFPWF1UoFIKfPnC0slV67CQgdM853zW7Bmk9/uflCtK4EtZKmPdRGtUHVC7DTVvDBMDzLRGdE2KCBVN29EbM5GGVNvijYbaZQ9OFQPBkQshayqSIyGRr6rreJdkrRVLIzu3uuAjKYydaeXZWSN2JLnVBwrClKUxaEdCwhb5nXpMtKOMD+R+LgaXLeJUWM8BdRSYnta9ZqI5pHY4y3v+eW7J+HHeTvRbHvlik+Z4hFUXmQIDAQAB"; npx:hasSignature "CqcA3Ai3eADW0XG7A4D/0mbQIu0ruYVOLS4SW/rIA2mUXD3DbJeiWg2r3sSD7Ph2JU8f0cXZeguayHN+jMMo7MxnItC6ka9MgyWML1air2EZpkpYtYdHah/6MS9tNvrXuwNfHY+AxPuoGiIdwcvm37dAh3wIRz7SWjuRJOyuTLN+8C9GQqtdEYS3EUjJu6lGW1ipvfQVjjnXmIY/QNhqAoUUmcH3lU7elEd1TRHZV3GPe6zbvnbL0Qi0nxVCDJJL+Pv2fwPWigi1Zh0IJzXyuyM0drlhfIDv5yKdDTnE0n+OZYKrd1sy2HQTdgI9cQ/mXpAkKz9AXe64xg5j3vBOGg=="; npx:hasSignatureTarget this:; npx:signedBy . }