I have 2 tables event + event_artist
event
eventId | eventName
-------------------
1 , gig1
2, gig2
event_artist
eventId, artistName
-------------------
1, Led Zip
1, The Beatles
ie Led Zep and the Beatles are both playing @ Gig1
I need to create the SQl to bind to a gridview ( you necessarily need to know about gridviews to answers this )
The results that i want would look like this
eventId = 1, EventName = Gig1. ArtistLineup = Led Zep, The beatles
So i need to create an alias ArtistLineup that would list all the artist. Via an inner select i think.
Any thoughts on what this would look like.