Here is a goal: What is needed to make legs for a DIY wooden table?

Which way makes more sense to accomplish this goal?
You can use steel or iron pipes.