Hi I have problem with variable: Here is my code The Osoba table: It’s my first post so don’t be so angry for formatting. Answer This can be done with a single efficient SQL statement. I highly doubt that the SELET statement and the general logic in your code is correct. CROSS JOINs create a cartesian product and are always