1
This is because you are using a pre-ansi join. Here is what's going on: the list of JOINs are "connected" with the last table from the list, namely, the konta k. The konta__kategoria kat part of the non-ANSI join is not in scope in any of the ANSI joins, triggering the error that you see.
You ca...