Four are needed.
It is as simple as laying five balls out in a straight line and counting the gaps between them.
Unless you are willing to put all of your data into one great big mess of a table, in which case you could use a CROSS JOIN.
0
solved to join 5 tables how many minimum no of join’s are required?