I have a link table linking IDs to 4 different tables:
table 1
Id name
----------
1 eduard
2 remus
3 gabi
table 2
Id ocupation
-----------------
1 manager
2 office worker
table 3
Id sex
----------
1 male
2 female
table 4
Id machine
------------
1 audi
2 mercedes
3 renault
assoc_table
Id Id_table1 Id_table2 Id_table3 Id_table4
----------------------------------------------
1 1 1 1 1
2 2 1 1 3
3 3 2 1 3
I want to link these 4 tables together so I can look for example:
All colleagues driving the Mercedes car ....
JOINs.