Espinoza84
Registered User.
- Local time
- Today, 10:24
- Joined
- May 30, 2008
- Messages
- 55
Hello I have a table I am trying to run a query from.
One of my columns name is "Sports"
the data in this column has over 15 sports, showing multiple times, because this table is for athletes and what sports do they play.
In my query I want to do an if statement to display A for Soccer, B for Football, C for Basketball, etc etc.
So if soccer is under the column sports, I want it to show "A" not Soccer, football will be "B" etc etc.
Can someone help me with the syntax for this?
PS: only one sport is in a field in the column like:
soccer
basketball
baseball
not like:
baseball, soccer, basketball
One of my columns name is "Sports"
the data in this column has over 15 sports, showing multiple times, because this table is for athletes and what sports do they play.
In my query I want to do an if statement to display A for Soccer, B for Football, C for Basketball, etc etc.
So if soccer is under the column sports, I want it to show "A" not Soccer, football will be "B" etc etc.
Can someone help me with the syntax for this?
PS: only one sport is in a field in the column like:
soccer
basketball
baseball
not like:
baseball, soccer, basketball
Last edited: