Have data table Programmer and Lang
Programmerrows:ProjectID,Person-
Langrow:Id,name -
In Programer have data: 1,John; 3,Mike; 2, Tommy
- In Lang have: 1, Java; 2 ,C#; 3, Python
How to get data like this tale:
- Java John
- C# Mike
- Python Tommy
Using Mysql and PHP, I no idea.
TRy this::
Select name, Person from Programmer p inner join Lang l on (p.ProjectID=l.ID)
If you need according to the row occurance in the table::