Skip to content
Advertisement

sql join without intermediate table (old database)

I’m working with a really old database and I’d like to do a simple join. Unfortunately, there is no intermediate table and it’s not possible to implement it in the near future (I know it’s really bad).

The tables look like this:

Expected result (for tbl_1.id = 1)

How can I achieve that? I tried (didn’t work):

This works but I need to use tbl_1.fs:

Advertisement

Answer

What about

https://www.db-fiddle.com/f/od1cVrPi1SoZBGiLvQfkP5/0

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