I have a table with 2 columns
AccountID Events
111111 Movies
111111 Concert
111111 Basketball
222222 movies
333333 basketball
222222 football
111111 concert
222222 movies
333333 sports
Basically something of that sort is what i have my practice table setup as. And well what i would like to do is figure out how to write a query that grabs one account id and list all its events in one row such as this
AccountID Event1 Event2 Event3 Event4
111111 movies basketball concert concert
222222 movies football movies
333333 sports basketball
Is that possible and if so where would i start to start reading up on some stuff on how to accomplish this.
Thanks for any help in advance
AccountID Events
111111 Movies
111111 Concert
111111 Basketball
222222 movies
333333 basketball
222222 football
111111 concert
222222 movies
333333 sports
Basically something of that sort is what i have my practice table setup as. And well what i would like to do is figure out how to write a query that grabs one account id and list all its events in one row such as this
AccountID Event1 Event2 Event3 Event4
111111 movies basketball concert concert
222222 movies football movies
333333 sports basketball
Is that possible and if so where would i start to start reading up on some stuff on how to accomplish this.
Thanks for any help in advance