Skip to content
Advertisement

informix 14.10 How to join three table for double mapping

I have 3 tables c1,map1,map2 like this:

And the output should be such a table:

If it was just table map1, the problem was simple

Can anybody help?

Advertisement

Answer

On the face of it, this should do the job:

Tested with this SQL to confirm the result:

Output:

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement