Answer the following question within 10 sec and without the help of a calculator.If 1 = 5, 2 = 25, 3 = 625, 4 = 390625, then 5 = ?
Do you think the answer is (390625)²? No. The answer is 1. Notice the first statement 1 = 5.
I asked this question to some other friends. They also replied the wrong answer. The answer is very simple. But sometimes we make complex and wrong solutions of simple problems. This happens due to lack of proper understanding the 'system'.
Here is similar problem, which occurs frequently in our day to day programming.
Let you have team_member table data like below:-