Q025error
Runtime query ends with ;
A dynamic: runtime query ends with a semicolon.
When it is reported
The builder appends WHERE, ORDER BY and LIMIT fragments after your SQL, which it cannot do after a statement terminator.
How to fix it
Remove the trailing semicolon.
In your terminal
$ sgl explain Q025
Look for RuntimeBuilderTrailingSemicolon in Seagull's source to see where it is reported.