Hi guys,
I'm still learning mysql, and i'm having a problem understanding how to do this.
I have a table like this:
ID Name MID
1 Bob
2 Jack
3 Amy 1
4 Lucy 2
5 Paul 1
And i'd like it to look up the names of people so the query would produce this:
1. Bob -
2. Jack -
3. Amy - Bob
4. Lucy - Jack
5. Paul - Bob
So it looks up the name of the "MID" against the ID and Name.
Is it possible?
Thanks for the help!