Created attachment 70847 [details] example and patch Open example file: towns.odb. Edit query named "Continents_with_no_town_KO" View SQL with View->Switch Design View On/Off Generated SQL does not work and produces an error when executed. I think it is because there is a misplaced ON in the genarated SQL statement. Hand-edited SQL query named "Continents_with_no_town_SQL" seems to works. I inclued a patch. I hope it corrects the bug. Operating System: All Last worked in: 4.0.0.0.alpha1
It_s a duplicate of https://bugs.freedesktop.org/show_bug.cgi?id=42165, but when you attached a patch I won't mark this bug as duplicate. I set it to "New".
*** This bug has been marked as a duplicate of bug 42165 ***