SQL (HSQLDB) query to create a pivot table equivalent in LibreOffice Base
问题 I'm working on a database in LibreOffice Base and trying to output the equivalent of a pivot table. Base uses HSQL which, I understand, doesn't support pivot, but the reports you can make with it are perfect for me so I want to stick with it. There are three columns I want to involve in my pivot: Rotation , Modality and Number . Here is an example of how the data looks at present: Rotation | Modality | Number 1 | 1 | 5 1 | 2 | 3 1 | 3 | 4 2 | 1 | 6 2 | 1 | 5 2 | 3 | 2 3 | 1 | 1 3 | 2 | 4 As