Hi i need to mix (more than join) three tables, but the id could be present or not on each table (Please see the example below).
I have spend a few days trying join and union but all time some data is missing!!! can someone give me a fresh idea?
Thanks
Best Answer
If MySQL had implemented
FULL
joins, this would be fairly simple:Unfortunately it hasn't (and neither the sister implementation MariaDB), so you have to restore using a
UNION
andLEFT
joins: