i want to to get the data from my database table games. i searched as
SELECT team_id,result from games where team_id=17;
In games table i have results of all matchs such as
id team_id team result
21 17 India w
22 17 India l
23 17 India l
24 17 India w
all i want to get this data as
team_id result1 result2 result3 result4
17 w l l w
If anyone have idea how could i do it?