Personal_Details table
name age
john 25
nikita 29
Sports table:
name games
john basketball
john volleyball
john football
nikita skating
Desired output:
name games1 games2 games3
john basketball volleyball football
nikita skating null null
i want to join both tables if there is match based on name variable then return the values of games in new variable . Let me know any suggestions how to achieve this!!